web
→ app-logs · 8/s · acks=1
No key: the producer fills a batch for one partition, then moves to the next.
sent 0 · acked 0 · failed 0
Three brokers, two topics, two consumer groups, all running right here. Take a guided scenario, or break things yourself: stop a broker, cut its power, add a consumer, drag the timeline back to see it again, or type kafka-topics --describe in the terminal.
Step 1 of 3
Each partition is stored as files named after their first offset. app-logs rolls a new segment every 600 bytes and keeps them for 15 s.
→ app-logs · 8/s · acks=1
No key: the producer fills a batch for one partition, then moves to the next.
sent 0 · acked 0 · failed 0
→ profiles · 4/s · acks=all
Each record gets one of these keys. Partition = hash(key) mod 1, so a key always lands in the same partition:
sent 0 · acked 0 · failed 0
Running
Running
Running
No partitions (more members than partitions, or rebalancing)
Click a record to follow its journey.
00000000000000000000.log0 records0 B.index .timeindexown HW 0
00000000000000000000.log0 records0 B.index .timeindexHW: consumers read below this line · LEO: next offset to write · only in the page cache · differs from the leader at the same offset
The concepts behind what you see above. They also live under Notes, tagged #kafka.