K2K documentation
Replicate Kafka topics, schemas, and topic configurations between Kafka clusters.
Feedback
K2K (Kafka-to-Kafka) replicates data between Apache Kafka clusters and Kafka API-compatible implementations. It continuously copies records, schemas, and topic configurations from a source cluster to a target cluster.
K2K includes a replicator (k2k) and an optional offset mapper (k2k-offset-mapping). A single YAML pipeline file configures both applications. The replicator copies records between clusters. The offset mapper translates consumer group positions. This lets applications fail over without reprocessing from the beginning.
Deploy both applications when you enable offset mapping. Use k2k-tool for administration. It provides a CLI and web UI. See the K2K glossary for naming conventions.
Getting started
Start with these pages:
Use cases — Choose a scenario: disaster recovery, migration, or staging.
Architecture — Understand the applications and pipeline file.
Minimal configuration — Create your first pipeline.
Deployment — Deploy the replicator with Docker or Helm.
Configuration reference — Configure features and performance settings.
Read Performance to understand scaling and load behavior. Use Runbooks for operational procedures.
Last updated
Was this helpful?


