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

Fixing exception log messaging with Prefetching #497

Merged
merged 1 commit into from
Feb 8, 2019

Conversation

sahilpalvia
Copy link
Contributor

@sahilpalvia sahilpalvia commented Feb 8, 2019

Issue #, if available:
N/A

Description of changes:

  • Changed Prefetch to catch SdkException instead of SdkClientException
    • With SDK 2.x service exceptions are of the type SdkServiceException
  • Adding *.iml to .gitignore

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

* Changed Prefetch to catch `SdkException` instead of `SdkClientException`
  * With SDK 2.x service exceptions are of the type `SdkServiceException`
* Adding `*.iml` to .gitignore
@pfifer pfifer added this to the 2.1.2 milestone Feb 8, 2019
@pfifer pfifer merged commit 3b3998a into awslabs:master Feb 8, 2019
@sahilpalvia sahilpalvia deleted the prefetch-sdkexception branch February 9, 2019 00:27
pfifer added a commit to pfifer/amazon-kinesis-client that referenced this pull request Feb 18, 2019
https://github.com/awslabs/amazon-kinesis-client/milestone/29
* Fixed handling of the progress detection in the `ShardConsumer` to restart from the last accepted record, instead of the last queued record.
  * awslabs#492
* Fixed handling of exceptions when using polling so that it will no longer treat `SdkException`s as an unexpected exception.
  * awslabs#497
  * awslabs#502
* Fixed a case where lease loss would block the `Scheduler` while waiting for a record processor's `processRecords` method to complete.
  * awslabs#501
sahilpalvia pushed a commit that referenced this pull request Feb 18, 2019
https://github.com/awslabs/amazon-kinesis-client/milestone/29
* Fixed handling of the progress detection in the `ShardConsumer` to restart from the last accepted record, instead of the last queued record.
  * #492
* Fixed handling of exceptions when using polling so that it will no longer treat `SdkException`s as an unexpected exception.
  * #497
  * #502
* Fixed a case where lease loss would block the `Scheduler` while waiting for a record processor's `processRecords` method to complete.
  * #501
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