Docs Self-Managed Reference rpk Commands rpk registry rpk registry mode rpk registry mode set This is documentation for Self-Managed v24.2. To view the latest available version of the docs, see v24.3. rpk registry mode set Set the mode Schema Registry runs in. Running this command with no subject sets the global mode for Schema Registry. Alternatively, use the --global flag to set the global mode for Schema Registry at the same time as per-subject modes. Acceptable mode values: READONLY READWRITE Usage rpk registry mode set [SUBJECT...] [flags] Flags Value Type Description --global - Set the global schema registry mode in addition to subject modes. -h, --help - Help for set. --mode string Schema registry mode to set. Acceptable values: READONLY, READWRITE (case insensitive). --format string Output format: json,yaml,text,wide,help. Default: text. --config string Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD, 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. Examples Set the global schema registry mode to READONLY: rpk registry mode set --mode READONLY Set the schema registry mode to READWRITE in subjects <subject-1> and <subject-2>: rpk registry mode set <subject-1> <subject-2> --mode READWRITE Replace the placeholder values. Back to top × Simple online edits For simple changes, such as fixing a typo, you can edit the content directly on GitHub. Edit on GitHub Or, open an issue to let us know about something that you want us to change. Open an issue Contribution guide For extensive content updates, or if you prefer to work locally, read our contribution guide . Was this helpful? thumb_up thumb_down group Ask in the community mail Share your feedback group_add Make a contribution rpk registry mode reset rpk registry schema