Tech Simulators / Kafka

Message Flow

Producer → Kafka Partition Flow

Partitions:
Sticky Partition: Random assignment (round-robin across partitions)

Producer

P0
0
P1
0
P2
0
Message History

No messages sent

Partition Assignment Strategies
Null key: Uses sticky partitioner — random round-robin, batches accumulate on one partition before switching
Fixed key: Default partitioner — hash(key) % partitionCount ensures messages with same key always go to same partition (ordering guarantee)
Random key: Uniform sticky partitioner — random key per message but consistent via hash (same key = same partition)