Skip to content

Commit

Permalink
Merge pull request #133 from oyang/support_boto3_format_record
Browse files Browse the repository at this point in the history
Boto3 client get_records return pure data
  • Loading branch information
IanMeyers authored Feb 3, 2021
2 parents 0121e6c + 7692f3e commit ab8d6ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/aws_kinesis_agg/deaggregator.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def iter_deaggregate_records(records, data_format=None):
# Decode the incoming data
raw_data = r['kinesis']['data']

decoded_data = base64.b64decode(raw_data) #if data_format != 'Boto3' else raw_data
decoded_data = base64.b64decode(raw_data) if data_format != 'Boto3' else raw_data

# Verify the magic header
data_magic = None
Expand Down

0 comments on commit ab8d6ce

Please sign in to comment.