Learn Labs
6. Kafka Internals

6. Kafka Internals

Chapter 6 of Kafka: The Definitive Guide — 10 sections.

Source: Kafka: The Definitive Guide, 2nd Ed., Ch. 6 The book's own framing of why this chapter exists: "It is not strictly necessary to understand Kafka's internals in order to run Kafka in production... However, knowing how Kafka works does provide context when troubleshooting... Understanding these topics in-depth will be especially useful when tuning Kafka — understanding the mechanisms that the tuning knobs control goes a long way toward using them with precise intent rather than fiddling with them randomly."

The four topics: the controller, replication, request processing, and storage (file format + indexes + compaction).