liveBook · Manning

Schema registry

A schema registry is a service that stores, versions, and provides schemas for structured data, often validating compatibility between schema versions.

How 4 Manning books explain it

Kafka Streams in Action, Second Edition

Schema Registry is a service for storing and validating schemas so that serialized records remain compatible between producers and consumers.

How it is used
Enforces evolving event-data contracts between independently deployed Kafka producers and consumers.
How deep it goes
Explains registration, architecture, generated objects, compatibility, references, and client configuration; defers general producer and consumer details.
Examples
Uses Avenger schemas and generated Java objects, plus College, Company, Person, inventory, and user-activity schemas.
What you can do after
Operate/configure it by registering schemas, generating objects, selecting compatibility scope, and wiring Schema Registry-aware serializers, deserializers, or Serdes.

Read how Kafka Streams in Action, Second Edition explains schema registry →

Kafka for Architects

A schema registry is a service that centrally stores, versions, and validates schemas for structured data exchanged between producers and consumers.

How it is used
Provides a shared data contract for structured Kafka events exchanged by producers and consumers.
How deep it goes
Traces registration, schema IDs, client serialization, REST access, storage, and release choices, while treating validation as a client responsibility.
Examples
Uses a producer-to-consumer interaction diagram, REST requests, Avro client configuration, and automatic-versus-manual registration choices.
What you can do after
Operate/configure it by selecting registration controls, configuring format-aware clients, and planning migrations when compatibility rules are insufficient.

Read how Kafka for Architects explains schema registry →

Apache Kafka in Action

A schema registry is a service that stores, versions, and provides access to schemas governing data formats.

How it is used
Centralizes Kafka schema storage, versioning, compatibility checks, and access for producers and consumers.
How deep it goes
Explains registry functions, Avro schema-ID messaging, and operational risks, but leaves client-side enforcement mitigation unspecified.
Examples
Uses a Product Avro record and contrasts sending its full schema with referencing it by ID.
What you can do after
Apply schema IDs to Kafka messages while keeping schemas centrally stored and compatibility-checked.

Read how Apache Kafka in Action explains schema registry →

Microservices Patterns, Second Edition

A service that stores, retrieves, and versions data schemas and may validate compatibility between versions.

How it is used
Supports independently evolving producers and consumers by resolving Avro messages against registered writer schemas.
How deep it goes
Defines schema registration, identifier lookup, writer-reader resolution, defaults, and build-time compatibility checks.
Examples
Uses a producer-supplied schema identifier and consumer-side defaults for fields missing from the message.
What you can do after
Apply it via Confluent Schema Registry to retrieve writer schemas and enforce compatibility during registration.

Read how Microservices Patterns, Second Edition explains schema registry →

Also covered in

What to know first

Related concepts

Questions about schema registry

What is schema registry?

A schema registry is a service that stores, versions, and provides schemas for structured data, often validating compatibility between schema versions.

Which Manning books explain schema registry?

Kafka Streams in Action, Second Edition, Kafka for Architects, Apache Kafka in Action and Microservices Patterns, Second Edition.

What should I know before learning schema registry?

Manning books that teach schema registry usually introduce Avro, JSON, JSON Schema and protobuf first.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.