liveBook · Manning

Topic record name strategy

TopicRecordNameStrategy is a Schema Registry subject-naming strategy that derives subjects from a Kafka topic name and a record’s fully qualified name.

How 2 Manning books explain it

Kafka Streams in Action, Second Edition

TopicRecordNameStrategy is a schema subject naming strategy that derives subjects from both the topic name and the record schema, isolating schemas by topic.

How it is used
Scopes schema compatibility by topic and record type when topics contain multiple event types.
How deep it goes
Explains naming scope, trade-offs, and producer-consumer configuration but stops short of implementation internals.
Examples
Uses CustomerPurchaseEvent across current and legacy topics plus Java producer and consumer configuration.
What you can do after
Operate/configure producers and consumers to isolate per-topic record schemas while supporting multiple event types.

Read how Kafka Streams in Action, Second Edition explains topic record name strategy →

Kafka for Architects

TopicRecordNameStrategy is a Schema Registry subject-naming strategy that combines topic association with fully qualified record names.

How it is used
Supports polyglot topics whose event types require topic association and independent schema evolution.
How deep it goes
Defines subject composition and coexistence behavior, but stops short of configuration or implementation walkthroughs.
Examples
Uses the CLIENTS topic, com.example.ClientEvent schema, and an Avro record containing client and event fields.
What you can do after
Evaluate whether multiple event types can share a topic while retaining distinct, independently evolving subjects.

Read how Kafka for Architects explains topic record name strategy →

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.