QamoosTech
DatabasesFundamentalsIntermediate

Schema Registry

PronunciationSKEE-muh REJ-is-tree

Definition

A schema registry is a service that stores the versioned schemas of messages, such as Avro or Protobuf definitions, and checks that new versions stay compatible with old ones.

Where you hear it

In Kafka and event-driven systems with many teams, data platforms and API governance talks.

Examples

  • The registry rejects a change that removes a required field.
  • Producers register the schema before publishing.
  • The producer registers the new Avro schema, and the registry confirms it is compatible.

Common mistake

Changing event formats without checking consumers. Compatibility rules in a registry stop the break before release.

Don't confuse with

A database schema, which defines tables. A registry holds the shapes of messages in transit.

Say it at work

  • In a meeting or chatIs the new schema backward compatible?
  • In an email or ticketRegister it in the registry first.