rpk shadow task resume

Resume paused sync tasks of a Shadow Link.

Each task named with --task leaves the paused state and syncing continues. Resuming a task that is not paused has no effect. Tasks are resumed one at a time, in the order given; if one is rejected, the tasks before it stay resumed.

Resuming the schema-registry task restores the write protection the link holds on the Schema Registry contexts it owns, so client writes to those contexts are rejected again. That task can be resumed only on a link that shadows the source Schema Registry over its API.

Tasks are addressed by one of these names:

Value Description

consumer-groups

Consumer Group Shadowing

roles

Roles Migrator Task

schema-registry

Schema Registry Shadowing

security

Security Migrator Task

topics

Source Topic Sync

This command was introduced in version v26.3.1.

Usage

rpk shadow task resume <link_name> --task <tasks...> [flags]

Examples

This section provides examples of how to use rpk shadow task resume.

Resume mirroring consumer group offsets:

rpk shadow task resume my-shadow-link --task consumer-groups

Resume topic, consumer group, security and role sync in one go:

rpk shadow task resume my-shadow-link --task topics,consumer-groups,security,roles

Flags

Value Type Description

--task

stringSlice

Comma-separated list of tasks to resume. Required.

Global flags

Value Type Description

--config

string

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

-X, --config-opt

stringArray

Override rpk configuration settings; -X help for detail or -X list for terser detail.

--ignore-profile

bool

Ignore rpk.yaml and redpanda.yaml; use default settings.

--profile

string

rpk profile to use.

-v, --verbose

bool

Enable verbose logging.