rpk shadow task
Pause or resume the sync tasks of a Shadow Link.
A Shadow Link runs one sync task per kind of metadata it mirrors from the
source cluster. Pausing a task stops that one kind of sync until the task is
resumed; the rest of the link keeps working. This sets the same paused
option as rpk shadow update does, and rpk shadow update replaces the whole
link configuration, so an update that leaves the option out resumes the task.
Pausing the schema-registry task also lifts the write protection the link holds on the Schema Registry contexts it owns, so clients can write to those contexts again until the task is resumed. That task can be paused or resumed only on a link that shadows the source Schema Registry over its API.
Tasks cannot be paused or resumed after a failover of the link has started.
These commands use the Admin API and are not available on Redpanda Cloud.
Tasks are addressed by one of these names:
| Value | Description |
|---|---|
|
Consumer Group Shadowing |
|
Roles Migrator Task |
|
Schema Registry Shadowing |
|
Security Migrator Task |
|
Source Topic Sync |
| This command was introduced in version v26.3.1. |
Subcommands
| Command | Description |
|---|---|
Pause sync tasks of a Shadow Link. Each task named with |
|
Resume paused sync tasks of a Shadow Link. Each task named with |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |