schema ID
The unique number a schema registry assigns to each distinct schema it stores.
In more detail
Producers put the ID at the start of each record so consumers can fetch exactly the schema used to write it. The same schema registered under two subjects gets the same ID.
Related terms
- schema registry — A service that stores versioned schemas for Kafka data, gives each a numeric ID and checks new versions against compatibility rules.
- Confluent wire format — The framing that schema-registry serializers put in front of each record: a zero magic byte, then a four-byte big-endian schema ID, then the encoded data.
- schema version — The position of a schema in its subject's history, starting at 1 and increasing with each accepted change.
Taught in
- The Field The Registry Refused — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- The Schema Registry — Apache Kafka & Event Streaming