Athomas
Athomas

Reputation: 573

Does AWS Visibility timeout guarantee that the message is not delivered during that period

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?

Upvotes: 0

Views: 141

Answers (1)

Matt Healy
Matt Healy

Reputation: 18531

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.

Upvotes: 1

Related Questions