schema registry
A service that stores versioned schemas for Kafka data, gives each a numeric ID and checks new versions against compatibility rules.
In more detail
Producers register or look up a schema and put its ID in each record; consumers use the ID to fetch the schema and decode. Redpanda has a schema registry built in, reachable with rpk registry. Its data must be kept and backed up independently of topic retention.
Related terms
- schema — A formal description of the structure of data: which fields or columns exist, their types and which are required.
- schema subject — The name under which a schema registry keeps the version history of one schema, such as orders-value.
- schema ID — The unique number a schema registry assigns to each distinct schema it stores.
- compatibility level — A schema registry setting per subject that decides which schema changes are allowed: BACKWARD, FORWARD, FULL or NONE.
- rpk registry — The rpk command group for working with a schema registry: registering and fetching schemas, listing subjects and setting compatibility levels.
Taught in
- The Field The Registry Refused — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Stuck On One Record — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Twelve Lines Instead Of Four Hundred — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- The Schema Registry — Apache Kafka & Event Streaming
- Compatibility Modes — Apache Kafka & Event Streaming