Apache Kafka version 3.3 goes live

Share this post

Kafka 3.3 is out – and introduces an important change of internal metadata management. The Apache Kafka Project is parting ways with ZooKeeper in order to make room for its successor KRraft, a self managed metadata quorum.

Introduction of ZooKeeper’s successor

Apache Kafka 3.3 heralds the end of ZooKeeper for internal metadata management: It is replaced by the solution-internal tool Kafka Raft (KRaft). KRaft was first introduced with the release of Kafka 2.8 as the successor to ZooKeeper, which managed distributed, open-source configuration and synchronization, as well as name registries for distributed applications in Kafka so far. However, KRaft remained in Early Access state since its release in spring 2021 and was not intended for production use – until now! With this week’s release of Kafka 3.3, KRaft has been granted «Production-Ready» status. This means that KRaft can now be deployed to new Kafka clusters. 

Reasons for switching to KRaft

There are several reasons why Apache Kafka project managers have opted for a self-managed metadata quorum for the future. On the one hand, the move to KRaft aims to break the dependency on ZooKeeper and thus reduce the overall complexity of the Kafka architecture. In addition, the elimination of ZooKeeper simplifies both administration and operation of Kafka clusters, as separate components are no longer required to manage the controller. Other benefits of KRaft include faster failover times in the event of controller downtime, as well as a massive improvement in partition scaling. Particularly for this reason it is worthwhile for Kafka project administrators to switch from ZooKeeper to KRaft.  

Is KRaft backwards compatible?

But what can those without the luxury of a greenfield approach do? At present, existing Kafka clusters managed with ZooKeeper cannot be migrated to KRaft yet. Such functionality will be available with the next release planned for the end of 2022 at the earliest: The experimental support for migration from ZooKeeper to KRaft is then to follow with Kafka 3.4. However, effective migration of productive clusters to KRaft will not be possible until Bridge Release 3.5. But don’t worry: Currently, the transition phase to KRaft has just begun. Although ZooKeeper is expected to be deprecated as of Kafka 3.5, it will probably not give way to its successor until Kafka 4.0, leaving enough time for a clean migration to KRaft. 

We support you to migrate your Kafka clusters

Kafka enjoys great popularity from SMEs to large corporations. With a market share of around 20% for enterprise application integrations*, numerous users are affected by the changeover. For this reason, be sure to plan the migration of your Kafka clusters in good time. mesoneer will be happy to support your company in this process as part of our consulting services. 


Noch Fragen?

Kontaktieren Sie uns!
Hier gehts zum Kontaktformular.