0

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?

Athomas
  • 533
  • 1
  • 6
  • 19
  • 1
    Yes, 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 Answers1

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