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

Support extending job visibility timeout #5

Open
ali-essam opened this issue Jun 19, 2019 · 2 comments
Open

Support extending job visibility timeout #5

ali-essam opened this issue Jun 19, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@ali-essam
Copy link
Owner

ali-essam commented Jun 19, 2019

When fetching a message from SQS, visibilityTimeout (Duration (in seconds) that the received messages are hidden from subsequent retrieve requests.) is determined at request time

In some cases, the timeout might not be clear during the request and the processing job might need more time to process the message. Currently, if the visibilityTimeout is less than the job processing time, that will cause the message to be back in the queue and visible to other workers to fetch again, causing double processing of the same message.

It's possible through SQS API to extend the timeout after fetching the message through ChangeMessageVisibility.

TODO: Implement this functionality in WTSQS.

@ali-essam ali-essam added the enhancement New feature or request label Jun 19, 2019
@asadswvl
Copy link

@ali-essam Would you please elaborate this issue?

@ali-essam
Copy link
Owner Author

Hi @asadswvl, I have updated the issue description. If you're interested in this feature, let me know and we can work together on its implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants