Skip to content

Commit

Permalink
do not decode
Browse files Browse the repository at this point in the history
  • Loading branch information
gvelez17 committed May 22, 2024
1 parent 5843e34 commit 775f2f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions logs-to-tsdb/kinesis-lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ def handler(event, context):

batched = []

print("NOT decoding data")
for record in event['Records']:

payload = record['kinesis']['data']
# it doesn't appear to be encoded
# payload = b64decode(record['kinesis']['data']).decode('utf-8')
Expand Down

0 comments on commit 775f2f7

Please sign in to comment.