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

Expired shard iterator is not retried #166

Open
srebhan opened this issue Nov 25, 2024 · 1 comment
Open

Expired shard iterator is not retried #166

srebhan opened this issue Nov 25, 2024 · 1 comment

Comments

@srebhan
Copy link

srebhan commented Nov 25, 2024

When consuming data and disconnecting the consumer for a longer time, the persisted shard iterator expires. However, this should not lead to an error but rather the shard-iterator should be renewed. Instead we see

... shard shardId-xxxxxxxxxxxx error: get records error: operation error Kinesis: GetRecords, https response error StatusCode: 400, RequestID: aaaaaaaa-bbbb-cccc-ddddd-eeeeeeeeeeee, ExpiredIteratorException: Iterator expired. The iterator was created at time Thu Nov 21 21:38:33 UTC 2024 while right now it is Thu Nov 21 21:54:14 UTC 2024 which is further in the future than the tolerated delay of 300000 milliseconds.

To me this hints for an ExpiredIteratorException, however, the isRetriable function obviously doesn't match the above error and Scan exits with an error...

@geronimo-iia
Copy link

Same behavior with ProvisionedThroughputExceededException !

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

No branches or pull requests

2 participants