Kafka sync with nothing to sync
Both clusters are empty.

The recording shows kurkik kafka sync on the demo sandbox; its data differs from this example.
The plan
Section titled “The plan”Nothing changes yet. --dry-run only shows what would happen.
$ kurkik kafka sync a.yaml b --all --dry-runSync a.yaml into b - Apache Kafka, cluster MkU3OEVBNTcwNTJENDM2Qkowns: the whole cluster - the document names no x-kurkik.kafka.server.topicPrefixes; access, as x-kurkik.kafka.server.acl declares itplan: <digest>Run one sync per cluster at a time: two at once each plan against a state the other is changing.
Nothing to change.
left alone (2) and 2 differences sync does not act on - servers, messages, undeclared settings; kurkik kafka diff shows them
0 changesexit 0$ kurkik kafka sync a.yaml b --all --yesSync a.yaml into b - Apache Kafka, cluster MkU3OEVBNTcwNTJENDM2Qkowns: the whole cluster - the document names no x-kurkik.kafka.server.topicPrefixes; access, as x-kurkik.kafka.server.acl declares itplan: <digest>Run one sync per cluster at a time: two at once each plan against a state the other is changing.
Nothing to change.
left alone (2) and 2 differences sync does not act on - servers, messages, undeclared settings; kurkik kafka diff shows them
0 changesexit 0The documents
Section titled “The documents”source.yaml, 42 lines
asyncapi: 3.0.0info: title: a Apache Kafka API version: 1.0.0-SNAPSHOT description: "Generated by reading the a cluster. Cluster id: MkU3OEVBNTcwNTJENDM2Qk."servers: broker-1: host: a-kafka-1:9092 protocol: kafka protocolVersion: "4.4" x-kurkik: kafka: server: security: - security: PLAINTEXT securityProtocol: PLAINTEXT acl: [] groups: [] brokerConfiguration: advertised.listeners: "INTERNAL://kafka-1:19092,EXTERNAL://a-kafka-1:9092" authorizer.class.name: org.apache.kafka.metadata.authorizer.StandardAuthorizer broker.id: "1" controller.listener.names: CONTROLLER controller.quorum.voters: 1@kafka-1:9093 group.initial.rebalance.delay.ms: "0" inter.broker.listener.name: INTERNAL listener.security.protocol.map: "INTERNAL:PLAINTEXT,EXTERNAL:PLAINTEXT,CONTROLLER:PLAINTEXT" listeners: "INTERNAL://0.0.0.0:19092,EXTERNAL://0.0.0.0:9092,CONTROLLER://0.0.0.0:9093" min.insync.replicas: "1" node.id: "1" offsets.topic.replication.factor: "1" process.roles: "broker,controller" transaction.state.log.min.isr: "1" transaction.state.log.replication.factor: "1" clientConfiguration: bootstrap.servers: a-kafka-1:9092 security.protocol: PLAINTEXT groupConfiguration: {} producerConfiguration: {} consumerConfiguration: {}channels: {}operations: {}How to build this setup yourself
Brokers
Cluster a
Cluster b
Sync
kurkik conn add kafka a --bootstrap a-kafka-1:9092kurkik conn add kafka b --bootstrap b-kafka-1:9092kurkik kafka export a --acls --groups --stdout > a.yaml # source.yamlkurkik kafka sync a.yaml b --all --dry-run # plan.txt (and -o json: plan.json)kurkik kafka sync a.yaml b --all --yes # apply.txt, and the rollback: rollback.yamlkurkik kafka sync revert ~/.local/state/kurkik/sync/b/b-<time>.snapshot.yaml b --force --yes # revert.txtAll flags: kurkik kafka sync · more Apache Kafka sync examples
Copyright © 2026 Pavel Bodiachevskii