Use case

Cut a logistics Kafka cluster over with MirrorMaker 2 while scanners keep publishing

A Kafka migration with no downtime depends on three MirrorMaker 2 settings and one rule of order. Topics are mirrored by the connector, consumer group offsets are copied by checkpoints, and sync.group.offsets.enabled, which defaults to false, writes them into the target's offsets (Apache Kafka 4.4 docs, checked 23 Nov 2026). The sync skips any group that has an active consumer on the target, so each group is stopped on the source before it starts on the target. Producers move last. A logistics estate with scanner events, route updates and proof-of-delivery messages cannot pause, because depots and drivers keep publishing around the clock. OSStend writes the MirrorMaker 2 configuration, runs the mirror on our side of the link, owns every consumer group move and keeps a reverse mirror ready for the fallback. The example below is illustrative and is checked against Kafka 4.x settings.

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

  • Kafka
  • MirrorMaker 2
  • Logistics
Source
Self-run Kafka, any 3.x or 4.x
Target
Kafka 4.x, KRaft, in OSStend's cloud
Method
MirrorMaker 2 with offset sync
Order
Mirror, consumers, producers
Rollback
Reverse mirror kept for a fallback window

Typical situation

Trigger. A self-run Kafka cluster is at the edge of its hardware, and depots publish scanner events around the clock.

Versions. Source on a 3.x or 4.x Kafka; target Apache Kafka 4.x in KRaft mode in OSStend's cloud.

  • Producers cannot pause
  • Dozens of consumer groups across teams
  • A fallback must stay open after cutover

A typical situation, not a named customer.

A zero-downtime Kafka migration mirrors topics with MirrorMaker 2, copies consumer offsets with checkpoints and sync.group.offsets.enabled, moves consumer groups one at a time, then moves producers last. OSStend owns each step, keeps a reverse mirror for rollback and runs the target 24/7.

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
MirrorMaker 2 setupWrites config, runs and monitors itOpens network paths between clusters
Topic and ACL inventoryLists topics, configs and ACLs and recreates themConfirms owners
Offset translationChecks checkpoints and group sync for every groupNames groups and owners
Consumer movesSequences them and checks lag before and afterStops and restarts consumers
Producer moveVerifies each producer after switchChanges bootstrap servers
RollbackKeeps a reverse mirror and the runbookCalls the rollback if needed
Run24/7 response and alerting on the targetOwns applications

Where it can run

The target for this use case is a dedicated cluster in OSStend's cloud, mirrored from a self-run source. The same method works into your cloud account or data center.

OptionWhen it fitsLicence and source
Our cloudA logistics company that wants Kafka run for it, with a fixed designApache Kafka is Apache-2.0 (LICENSE; OSStend licensing review, 19 Nov 2026)
Your cloud accountExisting cloud commitments or a customer boundarySame licence
Your data centerDepot systems with local linksSame licence

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

How it works

How the move works

The order is mirror, consumers, producers. Times are typical for dozens of topics and are set in the design.

  1. Inventory and design, 1 week

    List topics, partitions, configs, ACLs and groups, and design the target.

  2. Start the mirror, 2 to 5 days

    Run MirrorMaker 2 with checkpoints and group sync, and watch replication lag to near zero.

  3. Verify, 3 to 5 days

    Compare topic sets, partition counts and sampled keys, and test one non-critical group end to end.

  4. Move consumer groups, 1 to 3 weeks

    Per group: stop it, wait for the sync, check translated offsets, start on the target, confirm lag.

  5. Move producers and hold fallback, 1 to 2 weeks

    Switch producers, keep a reverse mirror, then retire the source.

mm2.properties (illustrative)
clusters = source, target
source.bootstrap.servers = source-kafka:9092
target.bootstrap.servers = target-kafka:9092
source->target.enabled = true
source->target.topics = scans.*, routes.*, pod.*
source->target.sync.group.offsets.enabled = true
source->target.emit.checkpoints.enabled = true
replication.policy.class = org.apache.kafka.connect.mirror.IdentityReplicationPolicy
replication.factor = 3

With IdentityReplicationPolicy the target topics keep their names, so consumers need no topic change; the default policy prefixes remote topic names. Group sync runs every 60 seconds by default. Settings are documented in the Kafka 4.4 MirrorMaker configuration, checked 23 Nov 2026. Start it with connect-mirror-maker.sh and check each group with kafka-consumer-groups.sh --describe.

Cost basis

The migration cost is the overlap: two clusters run for the weeks of the move. There is no public price for a self-run source, so the example uses AWS's published MSK figure only as a scale for one month of a small cluster.

Overlap itemWhat it meansScale reference
Source cluster for the extra weeksYour existing hosts or cloud cluster keep runningAWS's MSK Example 1: $606.94 for one month of 3 brokers and 1 to 2 TB
Target cluster for the same weeksDedicated brokers in OSStend's cloudQuoted per design
Mirror trafficReplicating all topics onceCloud transfer rates apply on your side
Engineering timeMirror, verify and cutover workIncluded in the quoted migration

Source for the reference figure: AWS MSK pricing, checked 23 Nov 2026. It is a scale marker, not a quote for your source.

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

These are the failure patterns that show up while two clusters run, and the signal for each.

Mirror lag.
Replication lag per partition; a growing line means the connector is under-provisioned.
Missing checkpoints.
A group with no checkpoint cannot be translated, so we check each group before moving it.
Skipped group sync.
A consumer still active on the target blocks the sync for its group.
Key distribution change.
Different partition counts change which partition a key hashes to, so counts are matched.
Transactional topics.
Topics with transactions need extra checks, because mirroring does not preserve transactional guarantees across clusters.
Reverse mirror drift.
The rollback path must be tested, not assumed.
Enterprise only

When OSStend is not the right fit

The method fits any estate that cannot stop its producers. It does not fit a small cluster where a planned stop is acceptable and simpler.

Contact us if

  • Producers publish all day and cannot pause.
  • Many teams own consumer groups.
  • You want a rollback path after cutover.
Talk to an engineer

Not a fit if

  • A planned stop of an hour is acceptable.
  • Topics are few and short-lived.
  • You depend on exactly-once guarantees across the two clusters during the move.
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 →

Do consumers need code changes?

Only the bootstrap servers. With the identity policy, topic names stay the same.

Why are groups stopped first?

The offset sync skips groups with active consumers on the target, so each group is stopped on the source and started on the target.

How is this different from the Confluent guide?

That guide covers one source. This page is the general mirror sequence for a self-run source.

What if lag does not reach zero?

We find the bottleneck, such as connector tasks, network or target disks, before any group moves.

Talk to an engineer

Plan a Kafka cutover with an engineer

Bring topic count, group list and peak throughput. An engineer will outline the cutover order 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.