Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't Restart From Scratch on DescribeStream Failures #152

Merged
merged 3 commits into from
Mar 28, 2017

Conversation

pfifer
Copy link
Contributor

@pfifer pfifer commented Mar 27, 2017

Currently the if a DescribeStream call fails, or is completely throttled any intermediate state will be lost. This requires that the next attempt start at the beginning. For large streams this may trigger additional throttling of calls to DescribeStream.

Improve the handling of describe stream throttling by no longer
triggering a null pointer exception when all requests are throttled.
Also store the last position reached, and always restart from
there.
Changed the shard iterator reset to simply recreate the iterator.
Updated to a newer version of the DynamoDB Local library, and updated
the repository location.
@pfifer pfifer added this to the v1.7.5 milestone Mar 27, 2017
@pfifer pfifer merged commit 97a29fc into awslabs:master Mar 28, 2017
pfifer added a commit to pfifer/amazon-kinesis-client that referenced this pull request Apr 7, 2017
* Correctly handle throttling for DescribeStream, and save accumulated progress from individual calls.
  * PR awslabs#152
* Upgrade to version 1.11.115 of the AWS Java SDK
  * PR awslabs#155
pfifer added a commit that referenced this pull request Apr 7, 2017
* Correctly handle throttling for DescribeStream, and save accumulated progress from individual calls.
  * PR #152
* Upgrade to version 1.11.115 of the AWS Java SDK
  * PR #155
@pfifer pfifer deleted the describe-failure-handling branch August 6, 2018 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant