harlow / kinesis-consumer

Golang library for consuming Kinesis stream data
MIT License
263 stars 88 forks source link

Allow to override Limit parameter in GetRecords #113

Closed chumbert2 closed 4 years ago

chumbert2 commented 4 years ago

Add option maxRecords to set the maximum number of records that can be returned by GetRecords. Default value: 10,000. Use WithMaxRecords to change the default value.

See

https://docs.aws.amazon.com/sdk-for-go/api/service/kinesis/#GetRecordsInput https://docs.aws.amazon.com/streams/latest/dev/service-sizes-and-limits.html

harlow commented 4 years ago

Hi, thanks for the PR. this looks good 👍