rpk shadow status

Shows the status of a Redpanda shadow link.

This command shows the current status of a shadow link, including the overall state, task statuses, and per-topic replication progress. Use this command to monitor replication health and track how closely shadow topics follow the source cluster.

By default, the command displays all status sections. Use the --print-* flags to select specific sections (overview, task status, or topic status). The --format json|yaml flag changes only the output format, not which sections are included.

Usage

rpk shadow status [LINK_NAME] [flags]

Examples

Display the status of a shadow link:

rpk shadow status my-shadow-link

Display specific sections:

rpk shadow status my-shadow-link --print-overview --print-topic

Flags

Value Type Description

-a, --print-all

-

Print all sections.

--format

string

Output format. Possible values: json, yaml, text, wide, help. Default: text.

-o, --print-overview

-

Print the overview section.

-k, --print-task

-

Print the task status section.

-t, --print-topic

-

Print the detailed topic status section.

-h, --help

-

Help for status.

--config

string

Redpanda or rpk config file; default search paths are /var/lib/redpanda/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml.

-X, --config-opt

stringArray

Override rpk configuration settings. See rpk -X or execute rpk -X help for inline detail or rpk -X list for terser detail.

--profile

string

Profile to use. See rpk profile for more details.

-v, --verbose

-

Enable verbose logging.