rpk registry
The rpk command group for working with a schema registry: registering and fetching schemas, listing subjects and setting compatibility levels.
In more detail
rpk registry schema create registers a schema file under a subject and returns its version and schema ID. rpk registry compatibility-level set changes the rule the registry applies to later versions of that subject.
Examples
rpk registry schema create orders-value --schema v1.json --type jsonrpk registry compatibility-level set orders-value --level BACKWARDRelated terms
- schema registry — A service that stores versioned schemas for Kafka data, gives each a numeric ID and checks new versions against compatibility rules.
- schema subject — The name under which a schema registry keeps the version history of one schema, such as orders-value.
- compatibility level — A schema registry setting per subject that decides which schema changes are allowed: BACKWARD, FORWARD, FULL or NONE.
- rpk — The command-line tool that ships with Redpanda for starting brokers and managing topics, consumer groups and schemas.
Taught in
- The Schema Registry — Apache Kafka & Event Streaming
- Compatibility Modes — Apache Kafka & Event Streaming