Phase 12Advanced13 of 18 in Apache Kafka
Cluster Architecture & KRaft
What brokers do with each request, why Kafka replaced ZooKeeper with KRaft, how the controller quorum and metadata log work, controller failover, migrating from ZooKeeper, and day-2 cluster operations.
Kafka 4.0 (2025) completed a multi-year change: ZooKeeper is gone, and cluster metadata lives in Kafka's own Raft-replicated log managed by a controller quorum. Anything you learned about Kafka's control plane before then needs updating.
This phase covers the broker's request path, KRaft in depth, what happens when controllers fail, how existing clusters migrated, and the routine operations every Kafka team performs.
0/4 · 0%
4 topics ~32 min 8 code blocks & diagrams