All simulators

Kafka partitions and consumer groups

Produce keyed messages, add consumers and trigger rebalances.

Produce a message with key

Consumers in the group: 2

  • Partition 0read by C1lag 0
    empty
  • Partition 1read by C2lag 0
    empty
  • Partition 2read by C1lag 0
    empty

Numbers are offsets. Faded messages have been consumed. The outlined one is the next to be read.

Consumer group

  • C1: P0, P2
  • C2: P1
Messages produced
0
Total lag
0
Group generation
1

Produce the same key several times: it always lands on one partition, which is what keeps one user's events in order. Then add consumers until there are more consumers than partitions and see who sits idle.

What just happened

Nothing yet. Use the controls above.