A topic scales by splitting into partitions; each partition is read by one consumer per group, in order — so partitions cap your parallelism, and only events with the same key keep their order.
Every order produces three events — created, paid, shipped — and the shipping service must see them in that order. 24 events per second go to 4 partitions, each read by its own consumer (10 events/s each). One example order is highlighted. Rates are illustrative.
Press Start: once an order has produced all three events it is highlighted here and in the logs.
Produced
24/s
Consumed
24/s
max 40/s now
Total lag
0 events
Out of order
0
events after a later one of the same order
Hottest partition
—
even share would be 25%
Busiest consumer
C1 · 0%
each finishes 10 events/s
Every order produces three events — created, paid, shipped — and the shipping service must see them in that order. 24 events per second go to 4 partitions, each read by its own consumer (10 events/s each). One example order is highlighted. Rates are illustrative.
Illustrative model: rates are tiny so single events can be watched (real consumers handle thousands per second), arrivals are random but seeded, and the rebalance pause is shortened.