If a developer using Boto3 is to use the deaggregate_records from deaggregator.py then they would need to be able to pass a parameter 'data_format='Boto3' since there is no way for the later called iter_deaggregate_records() to know about its format.
Versions
Python 3.8.6 aws_kinesis_agg 1.1.6
Referencing
https://github.com/awslabs/kinesis-aggregation/blob/398fbd4b430d4bf590431b301d03cbbc94279cef/python/aws_kinesis_agg/deaggregator.py#L173 https://github.com/awslabs/kinesis-aggregation/blob/398fbd4b430d4bf590431b301d03cbbc94279cef/python/aws_kinesis_agg/deaggregator.py#L185
Recommended Changes
If a developer using Boto3 is to use the deaggregate_records from deaggregator.py then they would need to be able to pass a parameter 'data_format='Boto3' since there is no way for the later called
iter_deaggregate_records()
to know about its format.Referencing Function Definition
https://github.com/awslabs/kinesis-aggregation/blob/398fbd4b430d4bf590431b301d03cbbc94279cef/python/aws_kinesis_agg/deaggregator.py#L173-L186