Repository navigation
feat(aws_s3 source): extend the visibility timeout of messages in process - #55
Merged
sundaresanr merged 1 commit intoNov 20, 2026
Merged
Conversation
…cess A message goes back on the queue when its visibility timeout ends, even if a poller still processes it. A message that lists many objects can take longer than any fixed timeout, so another poller reads it again and the objects are delivered twice. A long timeout avoids this, but it also hides the message for that long after a restart. Add the `extend_visibility_timeout` SQS setting. When it is on, a poller extends the visibility timeout of the messages it holds each time half of the timeout has passed, and stops before it deletes them. The default of false keeps the current behavior.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
message goes back on the queue when its visibility timeout ends, even if a poller still processes it. A message that lists many objects can take longer than any fixed timeout, so another poller reads it again and the objects are delivered twice. A long timeout avoids this, but it also hides the message for that long after a restart.
Add the
extend_visibility_timeoutSQS setting. When it is on, a poller extends the visibility timeout of the messages it holds each time half of the timeout has passed, and stops before it deletes them. The default of false keeps the current behavior.