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

Evaluate if is it worth automatically extending the message visibility timeout (as an opt-in setting) #1003

Open
mauroservienti opened this issue Sep 16, 2021 · 1 comment

Comments

@mauroservienti
Copy link
Member

Due to the way SQS works (message pickup + visibility timeout) there always is the possibility that, if message processing takes longer than the default (30") visibility timeout, it results in a duplicate message.

One option could be to keep track, in the transport/pipeline, of the visibility timeout of each message and automatically extend it (there is an AWS API for that) if needed.

@GurGaller
Copy link

We need this feature. SQS seems to provide a method to extend the visibility timeout.

The reason this is important is that we want to allow handlers to run for a long time (a few minutes), without causing SQS to retry the message (if the visibility timeout is too low) or take a long time to try again after a node fails (in case the visibility timeout is high).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants