Process Flow - Message ordering
Message Sent
Message Received by Queue
Check Ordering Key
Same Key?
Deliver Messages in Order per Key
Message Processed
Messages are sent and received by a queue that checks their ordering key. Messages with the same key go to the same partition to keep order. Different keys go to different partitions. Messages are delivered in order per key.