Skip to content

kcp migration

kcp migration

Commands for migrating using CPC Gateway.

Synopsis

Execute end-to-end Kafka migrations to Confluent Cloud using the Confluent Platform Connect (CPC) Gateway.

The migration workflow follows a defined lifecycle managed by a finite state machine:

  1. Initialize — validate cluster link and gateway CRs, persist migration config (kcp migration init).
  2. Check Lags — compare source and destination offsets until lag drops below the configured threshold.
  3. Fence Gateway — apply the fenced gateway CR to block traffic during cutover.
  4. Promote Topics — promote mirror topics at zero lag.
  5. Switch Gateway — apply the switchover gateway CR to route traffic to Confluent Cloud.

If execution is interrupted at any step, re-running kcp migration execute resumes from the last completed step.

Supporting documentation:

Options

  -h, --help   help for migration

Options inherited from parent commands

      --verbose   Enable verbose logging to console

SEE ALSO