| International Journal of Computer Applications |
| Foundation of Computer Science (FCS), NY, USA |
| Volume 187 - Number 46 |
| Year of Publication: 2025 |
| Authors: Ramesh V. |
10.5120/ijca2025925770
|
Ramesh V. . Evaluating Apache Kafka Performance and Operational Efficiency: A Comparative Study of ZooKeeper and KRaft Architectures. International Journal of Computer Applications. 187, 46 ( Oct 2025), 12-18. DOI=10.5120/ijca2025925770
Apache Kafka is a leading platform for building scalable, distributed event streaming systems. Traditionally, Kafka has relied on Apache ZooKeeper for managing cluster metadata and coordinating controller elections. However, the recent introduction of KRaft (Kafka Raft Metadata mode) eliminates this dependency by embedding a Raft-based consensus mechanism directly within Kafka [1] [6]. This architectural evolution raises key questions about the comparative performance, reliability, and operational efficiency of ZooKeeper-based versus KRaft-based deployments. [7] This study presents a comprehensive performance evaluation of Kafka's ZooKeeper and KRaft modes across multiple dimensions, including topic scalability, producer throughput, controller failover response, and memory efficiency. Through reproducible benchmarks involving 1,000-topic workloads, multi-threaded producers, and real-world failure simulations, the report analyzes the behavioral differences between the two architectures. The findings offer valuable insights for platform engineers, DevOps practitioners, and architects seeking to optimize Kafka deployments for high-throughput, cloud-native environments. [9] [15]