79520862

Date: 2025-03-19 16:53:29
Score: 0.5
Natty:
Report link

It is entirely possible that messages with differing group id's will exist in a single batch.

There are three rules governing the order of messages leaving a FIFO queue, to help understand the processing behavior:

  1. Return the oldest message where no other message with the same MessageGroupId is in flight.

  2. Return as many messages with the same MessageGroupId as possible.

  3. If a message batch is still not full, go back to the first rule. As a result, it’s possible for a single batch to contain messages from multiple MessageGroupIds.

See https://aws.amazon.com/blogs/compute/new-for-aws-lambda-sqs-fifo-as-an-event-source/ for more information.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: ncarmona