Providing the message deduplication ID in Amazon SQS
The producer should provide message deduplication ID values for each message in the following scenarios:
-
Messages sent with identical message bodies that Amazon SQS must treat as unique.
-
Messages sent with identical content but different message attributes that Amazon SQS must treat as unique.
-
Messages sent with different content (for example, retry counts included in the message body) that Amazon SQS must treat as duplicates.