Where does Kafka store data?

How / Where does Apache Kafka store data?

Apache Kafka brokers store data on local disk in an immutable** append-only log. The directory that the brokers store data in can be configured to be a different one.

See the Kafka Internals course by Jun Rao, and you can read about persistence in the brokers in the docs .

** Exceptions exist like log compaction.