kcp migration cutover lag-check
kcp migration cutover lag-check¶
Show mirror topic lag for the cluster link
Synopsis¶
Interactive TUI that displays mirror topic lag for the cluster link. Run in a terminal. Press q (or ctrl+c) to quit, p to toggle partition details, r to refresh, +/- to adjust interval, arrow keys or j/k to scroll.
Everything it needs — the destination REST endpoint, cluster id, link name and credentials — comes from the migration manifest, so this command works before 'kcp migration cutover execute' has ever run. The credentials are the cluster-link REST leg (spec.clusterLink.linkCredentials), honoured in whatever form the manifest resolves — api_key, basic, bearer, or mtls. lag-check never dials the source or destination Kafka legs directly.
It always shows every mirror topic on the link; the declared migration's topicGroup does not narrow the view.
Before the view opens, kcp reads the cluster link (15s timeout); if that fails, the command exits with an error.
Examples¶
Options¶
-h, --help help for lag-check
--migration-yaml string Path to the migration manifest describing this migration.
--poll-interval int Poll interval in seconds. Values outside 1-60 are clamped to that range. (default 1)
Options inherited from parent commands¶
SEE ALSO¶
- kcp migration cutover - Cut clients over to Confluent Cloud using Cluster Linking and the Confluent Gateway