Skip to content

Conversation

@sashman
Copy link
Contributor

@sashman sashman commented Apr 6, 2021

If the consumer needs to run on limited shards there is nothing stopping the get_records call from triggering the ProvisionedThroughputExceededException. Especially when the consumer needs to restart from the beginning of the stream. This PR introduces an exponential backoff to slow down the get_records calls.

@EddyLane
Copy link

I'm using this fork, works well for my use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants