Installing and configuring Apache Kafka
Also available as:

File System Selection

Kafka uses regular Linux disk files for storage. We recommend using the EXT4 or XFS file system. Improvements to the XFS file system show improved performance characteristics for Kafka workloads without compromising stability.

  • Do not use mounted shared drives or any network file systems with Kafka, due to the risk of index failures and (in the case of network file systems) issues related to the use of MemoryMapped files to store the offset index.

  • Encrypted file systems such as SafenetFS are not supported for Kafka. Index file corruption can occur.