📥Message Ordering
Also known as Event Ordering, Ordering Guarantee, In-Order Delivery
Whether events come in the order they were sent. Most only promise it per lane.
Think of it like
It is like a line at a shop. People are served in the order they came in.
Example
Lucy's bank keys each payment by its account. A deposit and then a withdrawal on one account always come in that order.
Why it matters
Some events only make sense in order. A refund handled before its payment breaks the books.
Definition
Common mistake
Key takeaways
- 1Per partition. Order holds inside one lane.
- 2Key picks the lane. Same key, same partition.
- 3No order across lanes. Two partitions can mix freely.