Using the message group ID with Amazon SQS FIFO Queues
In FIFO (First-In-First-Out) queues, MessageGroupId
is an attribute that organizes messages into distinct groups.
Messages within the same message group are always processed one at a time, in strict order,
ensuring that no two messages from the same group are processed simultaneously.
In standard queues, using MessageGroupId
enables fair queues.
If strict ordering is required, use a FIFO queue.