
Because the first cases of Apache Kafka walked the earth many moons in the past, they’ve been tied to a core piece of underlying expertise that was important for distributed operations: Apache Zookeeper. With in the present day’s launch of Confluent Platform 8.0, the corporate behind Kafka has formally excised the Hadoop-era Zookeeper from its enterprise real-time streaming platform, which might be a growth for simplicity and effectivity.
The trouble to take away ZooKeeper from Apache Kafka has been happening for a while. 4 years in the past, Confluent CEO Jay Kreps talked about how vital it was in Apache Kafka model 2.8 to interchange ZooKeeper with one thing known as KRaft, which is a mix of the Raft consensus algorithm and the Kafka log.
“It takes all of the duplication between Kafka and Zookeeper, each of which have been conserving a log and the truth that they’ve two community layers, two safety fashions, two monitoring methods, two methods of operating and configuring every of them, and it will get to only one,” Kreps stated throughout Kafka Summit Europe in Could 2021.
Intrepid corporations might run open supply Apache Kafka themselves in KRaft mode in the event that they needed to since Apache Kafka model 2.8, however it might take one other 4 years earlier than Confluent would provide a Zookeeper-less model of Confluent Platform, the enterprise model of Kafka for patrons that need to run their very own real-time streaming information platform on-prem or within the cloud.

Confluent has lastly changed Apache Zookeeper with its KRaft mode in Confluent Platform 8.0 (Picture courtesy Confluent)
That day lastly got here in the present day with the launch of Confluent Platform 8.0. Confluent says the removing of ZooKeeper in Confluent Platform 8.0 “marks a significant step ahead in simplifying Kafka’s structure and unlocking new ranges of scalability and resilience.
“With the Common Availability of KRaft mode, Kafka now handles its personal metadata administration internally, eliminating the necessity for a separate system with its personal instruments, syntax, and operational overhead,” the corporate says. “This streamlining permits groups to deploy and function Kafka with fewer shifting components, quicker restoration from failovers, and a unified configuration and safety mannequin throughout the complete platform.”
The provision of KRaft mode additionally brings a scalability profit. In keeping with Confluent, prospects can now run clusters with tens of millions of partitions. Having that many partitions might be a boon for Kafka prospects, who can now primarily open extra real-time information lanes which are restricted both to sure prospects or sure subjects.
Beforehand, the rule of thumb held that the utmost variety of partitions a single Kafka cluster might deal with was 200,000 partitions, unfold throughout a sure variety of subjects, in accordance with this put up by Kafka-based streaming information firm Information Streamhouse. The parents at NetApp, which run a Kafka-based information streaming providers due to its 2022 acquisition of Instaclustr, say the utmost variety of partitions they may squeeze out of a single Kafka cluster was 80,000 underneath ZooKeeper. With KRaft, that quantity soared to 1.9 million, in accordance with NetApp. “Extra partitions allow greater Kafka shopper concurrency and due to this fact greater throughput for Kafka clusters,” NetApp wrote.
With KRaft mode now enabled by default, the failover of the metadata controller is now near-instant, Confluent says, which is able to scale back downtime and enhance operational reliability.
“For architects and operators, this implies quicker efficiency, simpler upgrades, and a basis constructed for long-term progress, with out the complexity of managing ZooKeeper,” write Olivia Greene, a senior product advertising and marketing supervisor with Confluent, and Rohit Bakhshi, a director of product administration Confluent, on this weblog put up.
Greene and Bakhshi additionally touted the current launch of a brand new model of the Confluent Management Middle, which prospects use to regulate Confluent Platform clusters. The corporate says the shift to a Prometheus-based structure will convey huge scalability enhancements. The Management Middle has additionally adopted the Open Telemetery (OTel) normal for information assortment, which is able to elmiiante the necessity for a separate cluster to deal with observability information.
Lastly, this launch brings a giant safety increase with the final availability of client-side discipline stage encryption. CSFLE enhances different safety capabilities already supported in Confluent Platform, akin to Transport Layer Safety (TLS) server-side encryption and role-based entry management (RBAC) with one other layer of safety.
“For organizations in regulated industries akin to monetary providers, healthcare, and the general public sector, there’s usually a necessity for even tighter information safety, particularly for delicate data like personally identifiable data (PII),” Greene and Bakhshi write. “CSFLE lets you encrypt particular person fields inside messages on the producer aspect, guaranteeing that solely licensed customers or functions can decrypt and entry information.”
Different new options Confluent is speaking about within the new launch embrace:
- Removing of compatibility for legacy purchasers underneath Apache Kafka 4.0, which Confluent Platform 8.0 is constructed on;
- Open preview of FlinkSQL for analyzing real-time and historic information utilizing Apache Flink;
- Early entry for queues, a brand new consumption mannequin that enables a number of shoppers to share partitions, course of messages independently, and monitor supply for queue-style workloads;
- Functionality to deploy Management Middle utilizing Confluent for Kubernetes (CFK) management airplane;
- Help for Ansible Core variations 2.11 with Confluent Ansible;
- A dedication to observe the Apache Kafka launch cycle extra carefully with the group model of Confluent Platform.
Confluent might be internet hosting a webinar on August 8 to speak concerning the new options in Confluent Platform 8.0. You’ll be able to register right here.
Associated Gadgets:
Confluent Unifies Batch and Stream to Energy Agentic AI at Scale
Ambari Hadoop Cluster Supervisor is Again on the Elephant
Three Takeaways from Jay Kreps’ Kafka Summit Keynote