Use case

Plan a ZooKeeper to KRaft migration for a telecom Kafka cluster in your data center

Kafka 4.x runs in KRaft mode only, and the Apache documentation says that moving a cluster from ZooKeeper to KRaft needs a bridge release, which is Kafka 3.9 (Apache Kafka 4.4 docs, checked 23 Nov 2026). The migration itself is four phases: provision a KRaft controller quorum with the cluster's existing ID, put brokers into migration mode with a rolling restart, convert each broker to KRaft, then finalize by restarting the controllers without migration enabled. Rollback is possible only until finalization, and the 3.9 documentation lists limits: a broker with several log directories that suffers a failure cannot migrate until repaired, and changing the metadata version during migration is not supported. A telecom cluster carrying call-detail and signalling events cannot lose data or ordering. OSStend writes the design, rehearses it on a copy, runs the migration in your data center and then runs Kafka 24/7. The target is the current 4.x line, 4.4.0 as of 22 October 2026.

45 minutes with an engineer: we review your workload and sketch the design.

  • Kafka
  • KRaft migration
  • Telecom
Service
Design, rehearsal and run
Bridge release
Kafka 3.9.1
Phases
Quorum, migration mode, brokers, finalize
Rollback
Until finalization
Runs where
Your data center

Typical situation

Trigger. The estate is on ZooKeeper-mode Kafka 3.x and wants the 4.x line, which runs in KRaft mode only.

Versions. Kafka 3.9.1 as the bridge release, then Apache Kafka 4.x in KRaft mode.

  • Call-detail topics cannot lose data or order
  • Rolling restarts inside change windows
  • Brokers with several log directories

A typical situation, not a named customer.

A ZooKeeper to KRaft migration runs on the 3.9 bridge release: provision a controller quorum with the existing cluster ID, enable migration on brokers, convert brokers to KRaft, then finalize the controllers. Rollback ends at finalization. OSStend designs and rehearses it, runs it in your data center, then upgrades to Kafka 4.x.

Customers

  • Microsoft logo
  • Henry Schein logo
  • Enbridge logo
  • Gojek logo

Partners

  • Broadcom logo
  • Redis logo
  • VMware Tanzu logo
  • OSSeva logo
160+Enterprise customers
10+Years running these systems
24/7Engineers on call
3Places it runs: our cloud, yours, your data center
Engines we run, on the platforms you already use
  • PostgreSQL
  • MySQL
  • MongoDB
  • Redis
  • Valkey
  • OpenSearch
  • Kafka
  • RabbitMQ
  • AWS
  • Google Cloud
  • Azure
  • Kubernetes
  • OpenShift
  • Prometheus
  • Grafana
  • Datadog
  • Dynatrace
  • Splunk
Compare

What OSStend runs and what you keep

OSStend engineers design, move and run the cluster; you keep the application, the data and the decisions about it. The split below is what is set in the design you sign off, and it is written into the contract.

AreaOSStendYou
Readiness checkChecks versions, log directories, ACLs and metadata versionSupplies broker and ZooKeeper access
Controller quorum designSizes it and assigns node IDs that do not clash with broker IDsProvides hosts
RehearsalRuns the full migration on a copy and records timingsReviews the report
Production migrationRuns each phase in your windowsApproves each phase
Rollback planDocuments what to undo at each phaseDecides when to roll back
Upgrade to 4.xPlans the move to the 4.x line after finalizeApproves
Run24/7 response, patching, lag alertsOwns applications

Where it can run

This design is for a data center cluster on hosts you own. The same plan works in your cloud account or in OSStend's cloud.

OptionWhen it fitsLicence and source
Our cloudA move to a dedicated KRaft cluster instead of migrating in placeApache Kafka is Apache-2.0 (LICENSE; OSStend licensing review, 19 Nov 2026)
Your cloud accountZooKeeper-mode clusters in your accountSame licence
Your data centerTelecom core systems on owned hostsSame licence; OSStend operates it as contractor with a 24/7 response commitment

Licence placement comes from the OSStend licensing review, 19 Nov 2026. This table is not legal advice.

How it works

How the design works

The plan follows the four phases in the 3.9 documentation, with a rehearsal in front. Times are typical and set in the design. Rollback is possible only while migration mode is active.

  1. Readiness check, 3 to 5 days

    Upgrade brokers to 3.9.1, set inter.broker.protocol.version to 3.9, and check log directories, ACLs and unsupported features.

  2. Provision the quorum, 2 to 3 days

    Format a controller with the cluster's existing ID, and set migration mode and the ZooKeeper connection on it.

  3. Enter migration mode, 1 to 2 days

    Reconfigure brokers and restart them one at a time. Migration starts after the last broker restarts.

  4. Convert brokers, 3 to 7 days

    Per broker: set process.roles=broker and node.id, remove ZooKeeper settings, restart, and check lag before the next.

  5. Finalize and upgrade, 2 to 4 days

    Remove migration mode from controllers and restart one at a time, retire ZooKeeper, then plan the 4.x upgrade.

controller.properties (illustrative, migration mode)
process.roles=controller
node.id=3000
controller.quorum.bootstrap.servers=ctl1:9093,ctl2:9093,ctl3:9093
controller.listener.names=CONTROLLER
zookeeper.metadata.migration.enable=true
zookeeper.connect=zk1:2181,zk2:2181,zk3:2181

Source: Kafka 3.9 KRaft operations and Kafka 4.4 KRaft operations, checked 23 Nov 2026. Controller node IDs must differ from existing broker IDs, because brokers and controllers share one ID space.

Cost basis

A KRaft migration adds hosts for a controller quorum and engineering time, and removes the ZooKeeper nodes at the end. No public list price applies to hosts you own.

ItemDuring migrationAfter finalize
ZooKeeper nodesRunning (typically three)Retired
Controller nodesAdded (typically three)Kept
BrokersUnchanged countUnchanged count
Rehearsal environmentTemporary copy of the clusterReleased
Engineering timeDesign, rehearsal, productionOSStend, quoted per design

Node counts are the usual three-node quorum for each system, shown as arithmetic, not a vendor price.

OSStend's own price is quoted per design after a 45-minute workload review. It depends on the node design, the service level tier and where the cluster runs; see pricing.

What we watch on call

The migration has failure patterns at each phase. These are what we watch and the signal behind each.

Migration stall.
The log line that reports completed migration never appears; we check controller logs at TRACE for the migration package.
Multiple log directories.
A broker that has lost a directory cannot migrate until repaired.
Under-replicated partitions.
Count during each broker restart; we wait for zero before the next.
Controller epoch mismatch.
A KRaft controller epoch above the old ZooKeeper epoch can make a revert fail, so epochs are compared before any rollback.
Security migration tool history.
If it ran earlier, a malformed /migration node can stall migration.
Metadata version change.
Any change during migration is not supported, so it is frozen.
Enterprise only

When OSStend is not the right fit

The plan fits a ZooKeeper-mode cluster that must reach the 4.x line without data loss. It does not when a fresh cluster and a mirror are simpler.

Contact us if

  • The cluster is large and a mirror move is not practical.
  • You want a rehearsed plan with a documented rollback.
  • Brokers can restart one at a time in windows.
Talk to an engineer

Not a fit if

  • A new KRaft cluster and a mirror would be simpler.
  • Brokers use features the documentation lists as not yet migratable.
  • You cannot upgrade to the bridge release first.
FAQ

Questions buyers ask

Short answers to the questions that come up most on this kind of move. Each can be checked against the sources linked above.

Talk to an engineer →

Can we migrate directly on Kafka 4.x?

No. The 4.4 documentation says a bridge release is needed, and the steps are in the 3.9 documentation.

Can we undo it?

Until you finalize. After that, reverting to ZooKeeper mode is not possible.

Is a mirror move better?

Sometimes. See the Kafka mirror migration use case.

Where is the engine page?

Managed Kafka shows the KRaft design.

Talk to an engineer

Plan your KRaft migration with an engineer

Bring the Kafka version, broker count and log directory layout. An engineer will outline the phases in 45 minutes.

  • A design sketch for your workload, not a plan menu
  • A zero-downtime cutover path for what you run today
  • A price for that design, after the review
See pricing →

Your request goes to the OSStend team. No newsletter sign-up.

Get a quoteTalk to an engineer
2Engines Optional
3Where should it run?
4What do you need?

Your request goes to the OSStend team. No newsletter sign-up.