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

AsynchronousGetRecordsRetrievalStrategy Throwing CancellationException #226

Closed
pfifer opened this issue Sep 22, 2017 · 0 comments
Closed
Assignees
Labels
Milestone

Comments

@pfifer
Copy link
Contributor

pfifer commented Sep 22, 2017

A bug is causing the AsynchronousGetRecordsRetrievalStrategy to have a chance to see old GetRecords requests, and that can cause it to throw CancellationException's.

@pfifer pfifer added this to the v1.8.4 milestone Sep 22, 2017
@pfifer pfifer self-assigned this Sep 22, 2017
@pfifer pfifer added the bug label Sep 22, 2017
pfifer added a commit to pfifer/amazon-kinesis-client that referenced this issue Sep 22, 2017
* Create a new completion service for each request.
  This ensures that canceled tasks are discarded.  This will prevent a cancellation exception causing issues processing records.
  * PR awslabs#227
  * Issue awslabs#226
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant