Cloud

rpk registry mode

Manage schema registry mode.

Usage

rpk registry mode [flags]

Subcommands

Command Description

rpk registry mode get

Get schema registry mode. Running this command with no subject returns the global mode.

rpk registry mode reset

Reset schema registry mode. This command deletes any subject modes and reverts to the global default.

rpk registry mode set

Set schema registry mode Running this command with no subject sets the global schema registry mode, alternatively you can use the --global flag to set the global schema registry mode at the same time as per-subject mode. Acceptable mode values: * READONLY * READWRITE * IMPORT You can only enable IMPORT mode on an empty schema registry (if setting mode globally) or an empty subject (if setting at the subject level).

Flags

Value Type Description

--format

string

Output format (json,yaml,text,wide,help).

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.

Suggested reading