ccloud schema-registry subject update

Attention

The Confluent Cloud CLI is deprecated and will stop working on May 9, 2022. All ccloud features have been moved to the Confluent CLI. To update to the new CLI, run ccloud update –major. See the Migrate to Confluent CLI v2 for more details.

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