Apache Kafka upgrades

Upgrade pages for moving between Kafka 4.x releases on KRaft, based on the Kafka upgrade notes and release plan.

Apache Kafka 4.x rolling upgrade

Upgrading a KRaft cluster between 4.x releases, for example 4.1 to 4.3: supported upgrade paths, broker-by-broker rollout, finalizing the release version with kafka-features, client compatibility and rollback limits. Separate from the ZooKeeper to KRaft migration.

Apache Kafka 3.9 to 4.0 upgrade

The big jump to Kafka 4: ZooKeeper removal and the KRaft prerequisite, Java 17 for brokers and Connect, removed pre-0.10 protocols, the KIP-848 consumer protocol becoming available, and the order to upgrade controllers, brokers and clients.

Checking client compatibility before upgrading to Kafka 4

Finding clients that will break on Kafka 4: the compatibility matrix for 0.x to 2.0, 2.1 to 2.8 and 3.x clients, Streams and Connect limits, librdkafka and framework versions, and how to inventory client versions before the upgrade.

Upgrading Kafka Connect and Kafka Streams applications

Upgrading the components around the brokers: Java 17 for Connect workers, connector plugin compatibility and plugin discovery modes, Streams rebalance protocol changes, and rolling Connect clusters without losing tasks.

Upgrading Kafka with the Strimzi operator

Planning upgrades when Strimzi runs Kafka: matching operator releases to supported Kafka versions, upgrading the operator before Kafka, changing the Kafka version in the custom resource and checking Kubernetes version support.

Upgrade path for Kafka 2.x and early 3.x clusters

Getting an old ZooKeeper-based cluster to Kafka 4: the hop to 3.9 as the bridge release, the KRaft migration, the 3.3.x minimum for KRaft clusters, client upgrades along the way and how long each step takes.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.