liveBook · Manning

Subject

A subject is a Schema Registry identifier that groups versions of a schema governing a particular event type, topic, or key or value stream.

How 2 Manning books explain it

Kafka for Architects

A subject is a Schema Registry entity that groups versions of a data schema according to an event type, topic, or both.

How it is used
Decouples event domain models from Kafka topic organization while grouping schema versions.
How deep it goes
Explains mapping, version evolution, and compatibility, but does not detail all available subject strategies.
Examples
Uses a ClientEvent Avro schema on CLIENTS and ClientProfile V1/V2 compatibility scenarios.
What you can do after
Evaluate subject-to-topic strategies and govern schema evolution with compatibility modes.

Read how Kafka for Architects explains subject →

Kafka Streams in Action, Second Edition

A subject name is a Schema Registry identifier that groups schema versions governing a particular stream key or value.

How it is used
Scopes schema versions and compatibility rules for Kafka record keys or values.
How deep it goes
Explains subject naming, registration, identifiers, version queries, and strategy trade-offs without detailing compatibility algorithms.
Examples
Uses avro-avengers-value, REST registration commands, schema ID 1, and AvengerAvro strategy configurations.
What you can do after
Operate/configure Schema Registry subjects through REST endpoints and select producer and consumer naming strategies.

Read how Kafka Streams in Action, Second Edition explains subject →

Related concepts

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.