ccloud schema-registry subject update

Description

Update subject compatibility or mode.

ccloud schema-registry subject update <subject-name> [--compatibility <compatibility>] [--mode <mode>] [flags]

Flags

--compatibility string   Can be BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, or NONE.
--mode string            Can be READWRITE, READ, OR WRITE.
--api-key string         API key.
--api-secret string      API key secret.
--environment string     Environment ID.
--context string         CLI Context name.

Global Flags

-h, --help            Show help for this command.
-v, --verbose count   Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).

Examples

Update subject level compatibility or mode of Schema Registry:

ccloud schema-registry subject update <subject-name> --compatibility=BACKWARD
ccloud schema-registry subject update <subject-name> --mode=READWRITE

See Also