Apache Kafka major version upgrade: what changes

Teams on an older Kafka line need to know which lines are supported, what the documented path to 4.4 requires, and what breaks. Current major line is 4.4 (4.4.0 released October 22, 2026), and the project documents no general rollback path for this move.

On this page

Apache Kafka major version upgrade: what changes for a running cluster

A team running Apache Kafka on an older line has to plan the move forward while the cluster keeps serving traffic. The current major line is 4.4, with 4.4.0 released October 22, 2026, and the Kafka downloads page lists 4.3.x and 4.2.x as supported lines as of December 2026. Confirm whether 4.1.2 is still listed as supported before you schedule anything, because support status on older lines changes as the project publishes new releases. Check the current release on the Kafka downloads page before you plan, since that page determines which lines are live on the day you act.

The move itself is a rolling broker upgrade followed by a feature finalization step. You restart brokers one at a time on the new binaries, then finalize the metadata version with kafka-features.sh once every broker runs the target release. Kafka 4.x requires KRaft, because Kafka 4.0 removed ZooKeeper mode, so a ZooKeeper-based cluster must migrate before it can reach 4.x. The 4.4 upgrade notes cover upgrades from any version from 3.3.x through 4.3.0, and KRaft clusters older than 3.3.x should move to 3.9.x first. Also review broker.id, which is deprecated in favor of node.id and will be removed in Kafka 5.0, and fold that change into the same window only if your tooling can handle it safely.

Rollback is the part to plan most carefully. The project does not document a general rollback path, and the 4.0 upgrade notes state that metadata downgrade is not supported. Treat finalization as the point after which you should not expect to return to the previous line, and keep the gap between the last broker restart and finalization short and deliberate. Before the change, rehearse the full sequence on a non-production cluster that matches your topic configuration and client mix, confirm the exact steps in the upgrade notes for your target version, and agree in writing who signs off on finalization. Owners of Connect workers, Streams applications and custom clients need their own compatibility checks, since the upgrade notes set separate Java runtime requirements for brokers and clients.

Which Apache Kafka versions are supported and when they end

This table lists the Apache Kafka release lines with their release dates and support status as of December 2026, so you can see which line an upgrade should target. Read the status column as a set of items to confirm, since several entries depend on the project's current downloads page. The main takeaway is that no end-of-life dates are confirmed for these lines, so ask the project for the support window before you set a deadline or plan a retirement date.

VersionRelease dateSupport status
Apache Kafka 4.4.0October 22, 2026Newest minor line. Upgrade notes cover moves from 3.3.x through 4.3.0. Confirm its support status before pinning.
Apache Kafka 4.3.2October 23, 2026Listed as supported as of December 2026. Patch release on the 4.3 line, so it is the likely target for 4.3 users.
Apache Kafka 4.3.1June 25, 2026Superseded by the 4.3 patch line, so confirm whether this build is still offered for download before choosing it.
Apache Kafka 4.2.2September 29, 2026Listed as supported as of December 2026. Confirm the newest 4.2 patch before standardizing on it.
Apache Kafka 4.1.2March 17, 2026Listed as supported in an earlier listing, so confirm its current status and whether patch releases are still published for it.
Earlier releasesSee project archiveArchived. Confirm before running any version outside the supported lines.
Support end datesNot confirmedNo end-of-life dates confirmed for these lines. Ask the project for the support window before setting a deadline.
Release cadenceOne every four monthsThree releases a year, with bugfix releases only for supported lines.

The documented Apache Kafka major version upgrade path, step by step

Upgrading Apache Kafka to a new major version is an ordered sequence in which brokers move one at a time and the cluster is finalized last. Each step below builds on the one before it, so skipping a check can leave a cluster on a version it cannot upgrade from. The end state is a cluster on the target release with features finalized, and since metadata downgrade is not supported, settle rollback plans before the finalize step.

  1. Confirm the current mode and version

    Start by recording, for each cluster, whether it runs in KRaft mode or still depends on ZooKeeper, and the exact Kafka version of each broker. Kafka 4.0 only supports KRaft, and ZooKeeper-based clusters must migrate to KRaft before any 4.x upgrade. No separate migration tool is named for this path, so the ZooKeeper to KRaft move is the metadata migration itself. Take exact commands and configuration keys from the upgrade notes for your target release. Done when each cluster has a written record of mode and version and no ZooKeeper dependency remains.

  2. Move older KRaft clusters to 3.9.x

    KRaft clusters running a version older than 3.3.x should first move to 3.9.x, as the upgrade notes recommend before any move to 4.x. Run this hop as its own rolling upgrade and complete it before starting the 4.x work. Confirm each broker reports 3.9.x and that the cluster stays healthy under your normal monitoring before continuing. Done when every broker runs 3.9.x and the cluster has held steady through its usual checks.

  3. Check the source version for 4.4

    If the target is 4.4, confirm that the current version falls in the range the 4.4 upgrade notes accept: any version from 3.3.x through 4.3.0. Note that 4.3.1 and 4.3.2 sit above that upper bound as written, so check with the notes whether later 4.3 patch releases are covered before you rely on a direct path. Read the version from every broker directly, since a single dashboard can hide a broker that was missed in an earlier upgrade. Done when every broker's version is recorded and each one is either inside the documented range or has a confirmed intermediate step.

  4. Roll brokers one at a time

    Upgrade brokers one at a time, waiting for each to rejoin and for the cluster to return to healthy before moving to the next. The time-based release plan supports rolling upgrades from each release in the past year, which is the last three releases, to the latest version. Confirm each broker reports the target version and that under-replicated partition counts return to normal before you continue. Done when every broker runs the target release, all partitions are healthy, and the feature level has not yet been finalized.

  5. Upgrade Connect, tools and clients

    Bring Kafka Connect workers, command-line tools and client applications onto versions that meet the Java and protocol requirements in the breaking changes section. For 4.0, brokers, Connect and tools need Java 17, while clients and Kafka Streams need Java 11, and clients need protocol API version support from 2.1 or later because old protocol API versions were removed. Also review the removal of MirrorMaker 1 and the move from Log4j to Log4j2 in your logging configuration. Done when each Connect worker, tool host and client runtime is confirmed against those requirements and running its new version.

  6. Finalize the release with kafka-features.sh

    Once every broker runs the target release, finalize the feature level with kafka-features.sh upgrade and the target release version that the upgrade notes name. The 4.0 example in the documentation uses --release-version 4.0, so for other targets substitute the version given in the notes for that release. Metadata downgrade is not supported, so this step is the point of no return for the metadata layer, and rollback must be settled before you run it. Done when the command completes and you have confirmed the resulting feature level with the check the upgrade notes describe.

  7. Plan the broker.id to node.id move

    Plan the move from broker.id to node.id now, because the 4.4 upgrade notes deprecate broker.id in favor of node.id and state that it will be removed in Kafka 5.0. Inventory every server properties file and deployment template that sets broker.id, including automation scripts and Kubernetes manifests, and schedule the change as its own controlled configuration step. Confirm the exact procedure in the upgrade notes and check that each node identifier stays consistent with the roles that node already holds before you apply the change. Done when no configuration in your estate depends on broker.id and the change is recorded in your runbook.

Breaking changes to check before an Apache Kafka major version upgrade

A major version upgrade removes features that clusters, client applications and tooling may still depend on. The six changes below come from the Kafka 4.0 upgrade notes and the Kafka 4.4 notes on broker.id. Each card names the component affected, the check to run and the team that should own it before the upgrade window opens.

ZooKeeper mode is removed

Kafka 4.0 removed ZooKeeper mode and supports only KRaft, so any cluster still coordinating through ZooKeeper must migrate to KRaft before it moves to 4.x. Per the upgrade notes, KRaft clusters older than 3.3.x should first go to 3.9.x. The Kafka platform team owns this check. Record the metadata mode and version of every cluster, confirm the migration order for each one, and set the 4.x step only after the cluster has completed the earlier steps.

Kafka 4.3 upgrade notes

Java 17 and Java 11 minimums

Brokers, Kafka Connect and command-line tools need Java 17 for Kafka 4.0, while clients and Kafka Streams need Java 11. Every runtime must meet its minimum before the binaries change, because an older JVM is not a supported runtime for the new release. The platform team owns brokers, Connect and tooling images. Application teams own their client and Streams runtimes. Check the JVM version on each host, container image and build pipeline, and assign an owner to each one so no workload is left on an older runtime after cutover.

Old protocol API versions removed

Kafka 4.0 removes old protocol API versions, so clients need to be on 2.1 or later. The exposure sits with applications that bundle an old client library, which the broker team often cannot see. Inventory every producer, consumer and admin client version before the first broker restarts, including services that have not been rebuilt in a long time. Application and client library teams own this check. Confirm the library version in each build and test each service against a staging cluster running the target release.

MirrorMaker 1 is removed

Kafka 4.0 removes MirrorMaker 1, so any cross-cluster replication job that still depends on it has to be moved before the upgrade. Confirm the replacement named in the 4.0 upgrade notes, since the replication setup, consumer offsets handling and topic mapping may need to be re-tested with it. The data integration or replication team owns this check. List every replication flow with its configuration and owner, then run the replacement in staging against a copy of production topics before cutover.

Log4j replaced by Log4j2

Kafka 4.0 replaces Log4j with Log4j2, so custom logging configuration written for the older framework must be reviewed and rewritten. The change can affect log output, appenders and any pipeline that parses broker logs. Review every custom logging file against Log4j2 on a staging broker, and confirm that the log pipeline still reads the new output correctly. The security or observability team should own the log output check, and the platform team owns the broker configuration that carries it.

broker.id deprecated for node.id

The Kafka 4.4 upgrade notes deprecate broker.id in favor of node.id and state that broker.id will be removed in Kafka 5.0. Any configuration that still sets broker.id should move to node.id before a later upgrade removes the old key. Provisioning templates, scripts and automation are the usual places where the old key survives. The platform team owns this check. Search every template and script for broker.id, update each one, and confirm the current behavior against the 4.4 notes before scheduling the change.

Kafka 4.4 upgrade notes

How the upgrade sequence and the rollback boundary fit together

The diagram starts by checking the current mode and version. ZooKeeper clusters must move to KRaft first, because Kafka 4.0 supports only KRaft. KRaft clusters older than 3.3.x go to 3.9.x first, while clusters from 3.3.x through 4.3.0 move directly toward 4.4. Brokers are then upgraded one at a time, followed by Connect, tools and clients, and the cluster is finalized. Before finalization, confirm in the target release notes which steps can be reversed. After finalization, metadata downgrade is not supported according to the 4.0 documentation, and the project does not document a general rollback path.

Upgrade order for KRaft clusters, with the rollback boundary at feature finalization.

Apache Kafka major version upgrade planning by environment

On virtual machines, your team owns every step: the operating system, the Java runtime, the configuration files and the order in which brokers restart. Start by writing down which hosts run brokers, which run dedicated controllers and which combine both roles, because that layout sets how many restarts a rolling upgrade needs and which controller quorum members must stay healthy during each one. The Kafka 4.4 upgrade notes say upgrades come from any version from 3.3.x through 4.3.0, and KRaft clusters older than 3.3.x should move to 3.9.x first.

  • Broker and controller layout: record each host, its roles, its listeners and its log directories, and confirm which controllers must remain available during each restart.
  • Node identity keys: list every broker.id and node.id setting. The 4.4 notes deprecate broker.id in favor of node.id and say it will be removed in Kafka 5.0, so plan the rename before a later upgrade forces it.
  • Java and configuration: confirm the Java version your target release requires on every broker, then copy each server.properties file and the service unit that starts it.
  • Rolling restart procedure: restart brokers one at a time, check for under-replicated partitions between restarts, and run the finalize step that the upgrade notes give for your target release.

Before the change window opens, confirm the rollback path for your target release, because the 4.0 notes state that metadata downgrade is not supported.

Testing the upgrade and what rollback can and cannot do

Treat the upgrade as a rehearsed change with a written test plan. Stage a cluster that matches production in topic count, partition layout, replication settings and the client and Kafka Connect configuration your applications use, then run client and Kafka Streams compatibility tests against that copy. Check the Java requirements first: for 4.0, brokers, Connect and tools need Java 17, while clients and Streams need Java 11. Clients must be on 2.1 or later, because 4.0 removed the older protocol API versions. Also search your broker and client configuration for broker.id, which the 4.4 upgrade notes describe as deprecated in favor of node.id and slated for removal in Kafka 5.0. Record every client that fails, since those are the ones most likely to block the production rollout.

Rehearse the rolling broker restart with the same order, pacing and health checks you plan for production. The Kafka time-based release plan says rolling upgrades are supported from each release in the past year to the latest version, so confirm your current release line falls inside that window before you schedule anything. During each rehearsal restart, move one broker at a time and record under-replicated partitions, producer error rates, consumer lag and controller behavior before moving to the next broker. Then rehearse finalization, the step where you run kafka-features.sh upgrade --release-version against your target release after every broker runs the new version. Practice the exact command, name who approves it, and write down the go or no-go checks that come before it.

Rollback is the part to plan most carefully. The Kafka 4.0 documentation states that metadata downgrade is not supported, and the material reviewed for this page documents no general rollback path for this move. Assume that a finalized cluster cannot be returned to its earlier metadata state. Before finalization, confirm with the Kafka 4.4 upgrade notes for your exact source and target versions which steps can be reversed, including whether restarting a broker on its previous binary is one of them. If you run a managed Kafka service, ask your provider the same questions in writing and get the answers attached to the change record. Then set your own soak period on the upgraded brokers before you finalize, long enough to cover your business peaks and any batch jobs or connector pipelines on other schedules. Your operations and application owners should set that period, not the upgrade schedule.

What drives the cost and effort of an Apache Kafka upgrade

Who pays for what in an Apache Kafka upgrade?

In-house, most of the cost is staff time spread across the platform team that runs the brokers, the application teams that own clients and Streams jobs, and the team that operates Kafka Connect. Staging capacity, change windows and approval meetings add to it. With a fixed-scope engagement, the client still supplies its own people for access, owners and approvals, while the implementation partner is paid against the written scope, deliverables and timeline. The upgrade itself is one-time work, but the Kafka project aims for three releases a year, so the upgrade cycle recurs. Ask any quote to itemize platform, client, Connect, staging and retest work, and to state what is excluded.

How long does an Apache Kafka upgrade usually take?

The duration depends on how many clusters you run, how many clients and connectors depend on them, and how much testing your staging environment allows. Each cluster adds its own rolling restart cycle, and each client group or connector adds compatibility checks and owner sign-off. Change windows set when restarts can happen, and a managed service adds its own maintenance schedule. Do not plan from a generic figure. Ask for a written scope that lists clusters, clients, connectors, environments and change windows, then a timeline tied to that scope. Kafka's time-based release plan supports rolling upgrades from the last three releases to the latest version, so your starting version also affects how many steps the schedule needs.

What does the client need to provide for an Apache Kafka upgrade?

The client provides the inputs no outside team can supply. Start with a complete inventory of brokers, controllers, clients, Kafka Streams applications, Connect workers, connectors and any tools that read topic metadata. Then grant access to the environments, the change tickets and the monitoring that shows consumer lag and broker health. Named owners for each application and each change window keep decisions moving. Test data that reflects production message formats and volumes is needed for meaningful staging results. Finally, change approval must be recorded before any production restart. Agree who owns each item in writing before work begins, because a missing owner stalls decisions at the worst moment.

Can our in-house team upgrade Apache Kafka without a partner?

Yes, when the team already has the skills and the environment to support the work. The team needs working knowledge of KRaft, since Kafka 4.0 supports only KRaft mode, and practical experience with rolling restarts and leadership movement. A staging environment close enough to production to test clients and connectors is also required. If those skills or that environment are missing, the work is better handed to a partner or planned around a managed service. Compare the internal effort against a written scope, and include testing, documentation and the rollback plan, not only the restarts. A partner is a reasonable option for clusters your team has not upgraded before or where the change window is tight.

Does a managed Kafka service change how the upgrade works?

Yes. The provider's version schedule and upgrade mechanics apply, so part of your timing is set by the provider. Amazon MSK, Google Cloud Managed Service for Apache Kafka and Azure HDInsight each run open-source Kafka, but version availability, maintenance windows and upgrade procedures belong to each service. Confirm which Kafka versions the service offers, who performs the upgrade, what the provider does automatically and what your team must do for clients and connectors. Ask for those responsibilities in writing. Client compatibility, application testing and data checks still sit with your team or your partner, whatever the service handles.

Which starting versions need an intermediate step before Kafka 4.x?

Two starting points add work before the move to 4.x. According to Kafka's upgrade notes, KRaft clusters older than 3.3.x should first move to 3.9.x. Clusters still running ZooKeeper must migrate to KRaft before any 4.x upgrade, because Kafka 4.0 removed ZooKeeper mode. Each intermediate step is another rolling upgrade with its own testing, rollback point and change approval, so it adds effort and calendar time. The 4.4 notes list 3.3.x through 4.3.0 as supported upgrade sources. Confirm your exact starting version and mode before you build the plan, since the path depends on both.

What should we check in staging before a Kafka upgrade?

Check the breaking changes for your target line against your own client estate. For the 4.0 line, the upgrade notes list Java 17 for brokers, Connect and tools, Java 11 for clients and Streams, removal of old protocol API versions (clients need 2.1 or later), removal of MirrorMaker 1, and the move from Log4j to Log4j2. The notes also deprecate broker.id in favor of node.id, which will be removed in Kafka 5.0. Rehearse a rolling upgrade one broker at a time, then finalize with kafka-features.sh upgrade. Metadata downgrade is not supported, so test the rollback you can actually execute before you finalize.

When outside help for an Apache Kafka upgrade pays off

Outside help pays off most when the upgrade is bigger than one cluster in one change window. The clearest cases are multi-cluster estates, where each cluster may sit on a different version, and clusters still on ZooKeeper or on KRaft lines older than 3.3.x, which need intermediate steps before any 4.x target. Count your custom clients and Kafka Connect connectors early. The 4.0 line removed old protocol API versions, so clients need 2.1 or later, and Connect workers need Java 17. If your change control requires written evidence for each step, or you have no staging environment to rehearse a rolling upgrade, the cost of a mistake rises quickly. Compare your inventory against the Kafka 4.4 upgrade notes before deciding who does the work.

DeployOpen is a Chainscore Labs company that plans, upgrades, documents and supports self-hosted Apache Kafka inside your own infrastructure, including your cloud accounts, data centers or air-gapped networks. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and ongoing upgrades can be covered by a retainer. There is no published price list. A quote follows the written scope, so ask that the broker inventory, the client and connector checks, the rollback plan and the handover documents are listed in it. Kafka 4.0 does not support metadata downgrade, so ask how the rollback plan is written before the first broker moves. DeployOpen can prepare configuration records, change evidence and test results that compliance assessors ask for, but it does not issue audit reports or certifications. Independent auditors and certification bodies do that work.

How DeployOpen plans and runs a Kafka major version upgrade

DeployOpen plans a Kafka major version upgrade as a scoped piece of work inside your own infrastructure, whether that is your cloud account, data center or air-gapped network. The work starts from your current version, the documented upgrade path and your own clients and connectors, then covers the breaking changes that apply to your cluster. Engagements are fixed-scope, with the deliverables and timeline agreed in writing before work begins.

How we scope

  • The written scope names the current and target Kafka versions and the broker, Connect and tooling in each cluster.
  • Scope covers the Java runtime on each host, because Kafka 4.0 needs Java 17 for brokers, Connect and tools.
  • Engagements are fixed-scope, and a quote follows from the written scope, which is agreed before work starts.

How we build

  • Testing runs against a non-production cluster that resembles your topics, consumer groups and connectors, as the written scope defines.
  • The build follows the documented rolling path: upgrade brokers one at a time, then finalize the release version with kafka-features.sh.
  • Rollback is planned before cutover, since the Kafka 4.0 notes say metadata downgrade is not supported.

How we hand over

  • Handover includes a written runbook for the upgrade, the rollback decision points and the post-upgrade checks.
  • Documentation records the configuration changes for each broker, such as the move from broker.id to node.id where it applies.
  • Change records are prepared for your compliance team, and independent auditors make any assessment decision.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Retainers can cover the next Kafka release, since the Kafka project aims for three releases a year.
  • Ask us to confirm which Kafka release lines a retainer covers, since support windows differ by line.

Sources and further reading

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.