If I set visibility timeout of a message to say 5 minutes, is there any scenario where it can still be delivered to other consumers for processing, before 5 minutes?
Asked
Active
Viewed 85 times
0
-
1Yes, it's possible - see my answer on related question about [duplication within SQS, and how to reduce it](https://stackoverflow.com/a/38290017/836214) – Krease Jan 29 '19 at 22:51
1 Answers
1
From the docs:
For standard queues, the visibility timeout isn't a guarantee against receiving a message twice. For more information, see At-Least-Once Delivery.
So no, using a standard queue, you aren't guaranteed that a message won't be processed twice.

Matt Healy
- 18,033
- 4
- 56
- 56