rpk registry schema check-compatibility

Check schema compatibility with existing schemas in the subject.

Usage

rpk registry schema check-compatibility [SUBJECT] [flags]

Flags

Value Type Description

-h, --help

-

Help for check-compatibility.

--references

string

Comma-separated list of references (name:subject:version), or path to reference file.

--schema

string

Schema file path to check. Must be .avro, .json or .proto.

--schema-version

string

Schema version to check compatibility with (latest, 0, 1…​).

--type

string

Schema type (avro, json, protobuf). Overrides schema file extension.

--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.

--format

string

Output format: json,yaml,text,wide,help. Default: text.

--profile

string

Profile to use. See rpk profile for more details.

-v, --verbose

-

Enable verbose logging.