March 18th, 2025

Apache Kafka 4.0 Released

Apache Kafka 4.0.0 has been released, eliminating ZooKeeper, enhancing scalability, and introducing new features like improved consumer performance and queue semantics support, while requiring updated Java versions and removing deprecated APIs.

Read original articleLink Icon
Apache Kafka 4.0 Released

Apache Kafka has announced the release of version 4.0.0, marking a significant milestone as it operates entirely without Apache ZooKeeper, simplifying deployment and management. This release introduces KRaft mode by default, which reduces operational overhead and enhances scalability. Key features include the general availability of KIP-848, which improves consumer group rebalance performance, and early access to KIP-932, allowing Kafka to support traditional queue semantics. The release also removes deprecated APIs, requiring Kafka Clients and Streams to use Java 11, while Brokers, Connect, and Tools now require Java 17. Other notable improvements include enhancements to consumer protocols, metrics collection, and error handling in Kafka Streams. The upgrade path for clients and tools has been clarified, and the logging framework has been updated to Log4j2. Overall, Kafka 4.0.0 continues to evolve to meet modern data streaming and messaging needs.

- Apache Kafka 4.0.0 operates without ZooKeeper, simplifying management.

- New features include improved consumer group performance and support for queue semantics.

- The release requires updated Java versions for different components.

- Deprecated APIs have been removed to streamline the platform.

- Enhancements in metrics collection and error handling have been introduced.

Link Icon 3 comments
By @aussieguy1234 - about 1 month
One thing I immediately noticed after switching from sns/sqs to Kafka was how fast it is.

Messages seem to get sent/received almost immediately.

By @mumrah - about 1 month
Apache Kafka 4.0 was just released. This is a major release which includes some significant improvements:

* Removal of Apache ZooKeeper as a dependency

* New consumer group protocol (KIP-848)

* Early access of Queues For Kafka (KIP-932)

By @rmrf100 - about 1 month
Love Kafka