rpk registry context

Manage schema registry contexts.

Schema contexts provide namespace isolation within the schema registry, allowing multiple independent sets of subjects and schemas to coexist.

Before using schema contexts, the cluster must have the schema_registry_enable_qualified_subjects configuration set to true. You can enable it with:

rpk cluster config set schema_registry_enable_qualified_subjects true

Use the --schema-context flag on the parent registry command to scope operations to a specific context.

Usage

rpk registry context [flags]

Subcommands

Command Description

rpk registry context delete

Delete a schema registry context. A context can only be deleted once all subjects within it have been hard deleted.

rpk registry context list

List schema registry contexts.

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.