Record name strategy
RecordNameStrategy is a Schema Registry subject-naming strategy that derives each subject from the fully qualified name of its schema record, independently of its Kafka topic.
Kafka Streams in Action, Second Edition
RecordNameStrategy is a Schema Registry subject naming strategy that derives a schema subject from the fully qualified record name.
- How it is used
- Scopes Schema Registry subjects and compatibility checks by fully qualified record name, enabling related record types to share a topic.
- How deep it goes
- Defines subject derivation, cross-topic compatibility, configuration, and tradeoffs but stops short of detailed serializer implementation.
- Examples
- Uses IoT sensor events and an AvengerAvro record with Gradle, producer, and consumer configuration listings.
- What you can do after
- Configure Kafka Avro serializers and deserializers to register and resolve subjects by record name.
Read how Kafka Streams in Action, Second Edition explains record name strategy →
Kafka for Architects
RecordNameStrategy is a Schema Registry subject-naming strategy that identifies subjects by fully qualified record name independently of Kafka topics.
- How it is used
- Models Schema Registry subjects as event types independent of Kafka topics, especially when multiple event types must remain ordered.
- How deep it goes
- Explains naming, independent evolution, polyglot topics, partition ordering, and REST lookup, but stops short of consumer implementation.
- Examples
- Uses ClientCreated, ClientUpdated, and ClientDeleted events plus a com.example.ClientEvent Avro record.
- What you can do after
- Apply it via Schema Registry to keep event schemas topic-independent and preserve per-client event ordering.
Read how Kafka for Architects explains record name strategy →
Related concepts
- subject name strategykind of · A subject name strategy is a rule that determines how Schema Registry subject names are derived and therefore where compatibility is checked.
- topic record name strategycontrasts with · TopicRecordNameStrategy is a Schema Registry subject-naming strategy that derives subjects from a Kafka topic name and a record’s fully qualified name.
- polyglot topicproduces · A polyglot topic is a Kafka topic that contains multiple event types with distinct schemas.
- schema registryuses · A schema registry is a service that stores, versions, and provides schemas for structured data, often validating compatibility between schema versions.
- strategykind of · A strategy is a planned approach for achieving objectives through coordinated choices, priorities, and actions.
- topicuses · A topic is a named messaging destination or stream to which producers publish messages or records and from which consumers receive or read them.
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.

