Confluent Says ‘Au Revoir’ to Zookeeper with Launch of Confluent Platform 8.0


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 expertise that was essential 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 referred to 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 had been holding a log and the truth that they’ve two community layers, two safety fashions, two monitoring techniques, two methods of operating and configuring every of them, and it will get to only one,” Kreps mentioned throughout Kafka Summit Europe in Might 2021.

Intrepid corporations might run open supply Apache Kafka themselves in KRaft mode in the event that they wished to since Apache Kafka model 2.8, however it will take one other 4 years earlier than Confluent would provide a Zookeeper-less model of Confluent Platform, the enterprise model of Kafka for purchasers that wish to run their very own real-time streaming knowledge 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 Basic 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 transferring elements, quicker restoration from failovers, and a unified configuration and safety mannequin throughout all the platform.”

The supply of KRaft mode additionally brings a scalability profit. In accordance 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 basically open extra real-time knowledge lanes which might be restricted both to sure prospects or sure matters.

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 matters, in response to this put up by Kafka-based streaming knowledge firm Information Streamhouse. The parents at NetApp, which run a Kafka-based knowledge streaming providers because of its 2022 acquisition of Instaclustr, say the utmost variety of partitions they might 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 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 latest launch of a brand new model of the Confluent Management Heart, which prospects use to manage Confluent Platform clusters. The corporate says the shift to a Prometheus-based structure will convey large scalability enhancements. The Management Heart has additionally adopted the Open Telemetery (OTel) normal for knowledge assortment, which is able to elmiiante the necessity for a separate cluster to deal with observability knowledge.

Lastly, this launch brings an enormous safety enhance with the overall availability of client-side discipline stage encryption. CSFLE enhances different safety capabilities already supported in Confluent Platform, similar 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 similar to monetary providers, healthcare, and the general public sector, there’s typically a necessity for even tighter knowledge safety, particularly for delicate data like personally identifiable data (PII),” Greene and Bakhshi write. “CSFLE means that you can encrypt particular person fields inside messages on the producer aspect, making certain that solely licensed customers or purposes can decrypt and entry knowledge.”

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 knowledge utilizing Apache Flink;
  • Early entry for queues, a brand new consumption mannequin that enables a number of customers to share partitions, course of messages independently, and observe 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 observe the Apache Kafka launch cycle extra intently 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 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