Kafka Internals — Storage & Replication
5 Topics
1
How Kafka Stores Data on Disk
Disk formats, indexes (.index, .timeindex), and sparse indexing.
2
Replication — Leaders, Followers, and ISR
In-Sync Replicas, replica lag, and high watermark sync.
3
Leader Election — What Happens When a Broker Dies
Controller broker elections and partition leader elections.
4
Under-Replicated Partitions — Detection and Recovery
Monitoring JMX metrics and rebalancing partition allocations.
5
Log Compaction — Event Sourcing Use Cases
Cleaning logs via key deduplication for stateful caches.