Using the message deduplication ID in Amazon SQS (original) (raw)
Using the message deduplication ID in Amazon SQS - Amazon Simple Queue Service
MessageDeduplicationId is a token used only in Amazon SQS FIFO queues to prevent duplicate message delivery. It ensures that within a 5-minute deduplication window, only one instance of a message with the same deduplication ID is processed and delivered.
If Amazon SQS has already accepted a message with a specific deduplication ID, any subsequent messages with the same ID will be acknowledged but not delivered to consumers.
Note
Amazon SQS continues tracking the deduplication ID even after the message has been received and deleted.
Topics
- When to provide a message deduplication ID in Amazon SQS
- Enabling deduplication for a single-producer/consumer system in Amazon SQS
- Outage recovery scenarios in Amazon SQS
- Configuring visibility timeouts in Amazon SQS
Avoiding inconsistent message processing in Amazon SQS
When to provide a message deduplication ID in Amazon SQS
Did this page help you? - Yes
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Did this page help you? - No
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.