Skip to content
Page cover
For the complete documentation index, see llms.txt. This page is also available as Markdown.

K2K documentation

Replicate Kafka topics, schemas, and topic configurations between Kafka clusters.

K2K is generally available. See Releases and compatibility for supported versions and upgrade guidance.

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:

  1. Use cases — Choose a scenario: disaster recovery, migration, or staging.

  2. Architecture — Understand the applications and pipeline file.

  3. Minimal configuration — Create your first pipeline.

  4. Deployment — Deploy the replicator with Docker or Helm.

  5. 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?