CFP last date
20 November 2025
Call for Paper
December Edition
IJCA solicits high quality original research papers for the upcoming December edition of the journal. The last date of research paper submission is 20 November 2025

Submit your paper
Know more
Random Articles
Reseach Article

Evaluating Apache Kafka Performance and Operational Efficiency: A Comparative Study of ZooKeeper and KRaft Architectures

by Ramesh V.
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

@article{ 10.5120/ijca2025925770,
author = { Ramesh V. },
title = { Evaluating Apache Kafka Performance and Operational Efficiency: A Comparative Study of ZooKeeper and KRaft Architectures },
journal = { International Journal of Computer Applications },
issue_date = { Oct 2025 },
volume = { 187 },
number = { 46 },
month = { Oct },
year = { 2025 },
issn = { 0975-8887 },
pages = { 12-18 },
numpages = {9},
url = { https://ijcaonline.org/archives/volume187/number46/evaluating-apache-kafka-performance-and-operational-efficiency-a-comparative-study-of-zookeeper-and-kraft-architectures/ },
doi = { 10.5120/ijca2025925770 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
}
%0 Journal Article
%1 2025-10-23T00:17:57.804628+05:30
%A Ramesh V.
%T Evaluating Apache Kafka Performance and Operational Efficiency: A Comparative Study of ZooKeeper and KRaft Architectures
%J International Journal of Computer Applications
%@ 0975-8887
%V 187
%N 46
%P 12-18
%D 2025
%I Foundation of Computer Science (FCS), NY, USA
Abstract

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]

References
  1. Apache Kafka Documentation, "KRaft Mode (KIP-500) – Removing the dependency on ZooKeeper," Apache, 2024. [Online]. Available: https://kafka.apache.org/documentation/
  2. Apache ZooKeeper Documentation, "Apache ZooKeeper Overview and Configuration," Apache, 2024. [Online]. Available: https://zookeeper.apache.org/doc/
  3. Confluent, "Apache Kafka Performance"[Online]. Available: https://developer.confluent.io/learn/kafka-performance/
  4. Confluent Developer, "Understanding KRaft Mode," 2024. [Online]. Available: https://developer.confluent.io/learn/kraft/
  5. Spoud.io, "Embracing the Future of Kafka: Why It’s Time to Migrate from ZooKeeper to KRaft," Medium, 2024. [Online]. Available: https://spoud-io.medium.com/embracing-the-future-of-kafka-why-its-time-to-migrate-from-zookeeper-to-kraft-f1a5225ac48a
  6. Apache Kafka Improvement Proposal (KIP-500), "Replace ZooKeeper with a Self-Managed Metadata Quorum," Apache, 2024. [Online]. Available: https://cwiki.apache.org/confluence/display/KAFKA/KIP-500%3A+Replace+ZooKeeper+with+a+Self-Managed+Metadata+Quorum
  7. Apache Kafka Improvement Proposal (KIP-631), "The Quorum-based Kafka Controller," Apache, 2024. [Online]. Available: https://cwiki.apache.org/confluence/display/KAFKA/KIP-631%3A+The+Quorum-based+Kafka+Controller
  8. Confluent, "The Architecture of KRaft Mode: How Kafka Is Evolving," 2024. [Online]. Available: https://docs.confluent.io/platform/current/kafka-metadata/kraft.html
  9. Confluent, "Why replace ZooKeeper with Kafka Raft (KRaft)," 2024. [Online]. Available: https://www.confluent.io/blog/why-replace-zookeeper-with-kafka-raft-the-log-of-all-logs/
  10. Confluent Documentation, "KRaft Overview," 2024. [Online]. Available: https://docs.confluent.io/platform/current/kafka-metadata/kraft.html
  11. Confluent Documentation, "Migrate from ZooKeeper to KRaft on Confluent Platform," 2024. [Online]. Available: https://docs.confluent.io/platform/current/installation/migrate-zk-kraft.html
  12. Confluent, "Kafka 4.0 Release: Default KRaft, Queues, Faster Rebalances," 2024. [Online]. Available: https://www.confluent.io/blog/latest-apache-kafka-release/
  13. SoftwareMill, "Apache Kafka 4.0: Simplified Architecture with Default KRaft," 2024. [Online]. Available: https://softwaremill.com/apache-kafka-4-0-0-released-kraft-queues-better-rebalance-performance/
  14. The New Stack, "Kafka Drops ZooKeeper for ‘Real-Time’ KRaft," 2024. [Online]. Available: https://thenewstack.io/kafka-drops-zookeeper-for-real-time-kraft/
  15. Arvind Kumar, "Deep Dive: How KRaft Improves Over ZooKeeper in Kafka," Medium, 2025. [Online]. Available: https://codefarm0.medium.com/deep-dive-how-kraft-improves-over-zookeeper-in-kafka-f50b971e0c0e
  16. Sion Smith, "Apache Kafka’s KRaft Protocol: How to Eliminate ZooKeeper and Boost Performance by 8x," OSO, 2025. [Online]. Available: https://oso.sh/blog/apache-kafkas-kraft-protocol-how-to-eliminate-zookeeper-and-boost-performance-by-8x/
Index Terms

Computer Science
Information Sciences

Keywords

Apache Kafka ZooKeeper KRaft distributed systems Raft consensus event streaming performance benchmarking