
For the reason that first situations of Apache Kafka walked the earth many moons in the past, they’ve been tied to a core piece of underlying know-how that was vital for distributed operations: Apache Zookeeper. With at present’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 can 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 necessary it was in Apache Kafka model 2.8 to switch ZooKeeper with one thing known as KRaft, which is a mixture of the Raft consensus algorithm and the Kafka log.
“It takes all of the duplication between Kafka and Zookeeper, each of which have been holding a log and the truth that they’ve two community layers, two safety fashions, two monitoring programs, two methods of operating and configuring every of them, and it will get to only one,” Kreps stated throughout Kafka Summit Europe in Might 2021.
Intrepid firms 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 wish 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 at present with the launch of Confluent Platform 8.0. Confluent says the elimination 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 Normal 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 your entire platform.”
The supply of KRaft mode additionally brings a scalability profit. In response to Confluent, clients can now run clusters with thousands and thousands of partitions. Having that many partitions can be a boon for Kafka clients, who can now primarily open extra real-time information lanes which can be restricted both to sure clients 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 response to this publish by Kafka-based streaming information firm Information Streamhouse. The oldsters at NetApp, which run a Kafka-based information streaming providers because of its 2022 acquisition of Instaclustr, say the utmost variety of partitions they may squeeze out of a single Kafka cluster was 80,000 below ZooKeeper. With KRaft, that quantity soared to 1.9 million, in response to NetApp. “Extra partitions allow increased Kafka client concurrency and due to this fact increased 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 can cut 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 publish.
Greene and Bakhshi additionally touted the latest launch of a brand new model of the Confluent Management Heart, which clients use to manage Confluent Platform clusters. The corporate says the shift to a Prometheus-based structure will deliver large scalability enhancements. The Management Heart has additionally adopted the Open Telemetery (OTel) commonplace for information assortment, which can elmiiante the necessity for a separate cluster to accommodate observability information.
Lastly, this launch brings a giant safety increase with the final availability of client-side subject degree encryption. CSFLE enhances different safety capabilities already supported in Confluent Platform, comparable 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 comparable to monetary providers, healthcare, and the general public sector, there’s typically a necessity for even tighter information safety, particularly for delicate info like personally identifiable info (PII),” Greene and Bakhshi write. “CSFLE permits you to 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 embody:
- Elimination of compatibility for legacy shoppers below 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 permits a number of shoppers to share partitions, course of messages independently, and monitor supply for queue-style workloads;
- Functionality to deploy Management Heart utilizing Confluent for Kubernetes (CFK) management airplane;
- Assist for Ansible Core variations 2.11 with Confluent Ansible;
- A dedication to comply with the Apache Kafka launch cycle extra carefully with the group model of Confluent Platform.
Confluent can be internet hosting a webinar on August 8 to speak concerning the new options in Confluent Platform 8.0. You may register right here.
Associated Objects:
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