Apache Kafka 4.0 Drops ZooKeeper: A Practical Guide to KRaft Reconfiguration for Java Developers
By
Eleftheria Drosopoulou
Summary
Apache Kafka 4.0, released March 18, 2025, completely removes ZooKeeper support, making KRaft (Kafka Raft) the sole consensus mechanism. This article explains what Java developers need to know about reconfiguring their Kafka deployments — covering the transition from ZooKeeper-based metadata management to KRaft's self-managed quorum, configuration changes, operational implications, and practical migration steps. It details the removal of ZooKeeper properties, introduction of KRaft-specific configurations like `process.roles` and `node.id`, changes to controller election, and the new metadata log architecture.
Source
Key quotes
· 3 pulledFor over a decade, running Apache Kafka in production meant running two distributed systems simultaneously.
Apache Kafka 4.0 shipped with ZooKeeper support completely removed — not deprecated, not optional, removed.
That era ended on March 18, 2025.
You might also wanna read
TLA+ Specifications for Kafka Data Replication Protocol and KRaft Implementation
This is a GitHub repository containing TLA+ specifications for Kafka's data replication protocol, specifically focusing on the KRaft (Kafka
PostgreSQL as a Practical Alternative to Kafka for Small-Scale Message Queuing
The article argues against the overuse of complex messaging systems like Kafka for small-scale applications, advocating instead for PostgreS
The transactional outbox pattern: keeping a database and Kafka consistent
Comparing PostgreSQL and Kafka: Understanding Their Different Use Cases in Distributed Systems
This article critiques the common trend of developers arguing that PostgreSQL can replace Apache Kafka for event streaming needs. The author
WarpStream Tableflow: Converting Kafka Data to Iceberg Tables with Low Latency
WarpStream Tableflow is a new product that addresses the challenges of converting Kafka topic data into Apache Iceberg tables. The article a
warpstream.com·9mo agoRiver 0.4.0 Introduces Non-Monolithic Wayland Architecture Separating Compositor and Window Manager
The article discusses a significant architectural shift in Wayland compositors, focusing on river 0.4.0's non-monolithic approach that separ
isaacfreund.com·3mo ago
Comments
Sign in to join the conversation.
No comments yet. Be the first.