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

Recreate the completion service instead of reusing them. #227

Merged
merged 1 commit into from
Sep 22, 2017

Conversation

pfifer
Copy link
Contributor

@pfifer pfifer commented Sep 22, 2017

This prevents cancelled tasks from being polled in subsequent calls.

Fixes #226

This prevents cancelled tasks from being polled in subsequent calls.
@pfifer pfifer requested a review from sahilpalvia September 22, 2017 21:49
@pfifer pfifer added the bug label Sep 22, 2017
@pfifer pfifer added this to the v1.8.4 milestone Sep 22, 2017
@pfifer pfifer merged commit e8039b3 into awslabs:master Sep 22, 2017
@pfifer pfifer deleted the cancel-fix branch September 22, 2017 23:18
pfifer added a commit to pfifer/amazon-kinesis-client that referenced this pull request 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

Successfully merging this pull request may close these issues.

1 participant