Multiple kafka topic having same data model #127
-
The common practice to link avro schema to topic is to use a subject. This indirection allow to attached a same avro schema to multiple topic. what is the link between model and topic if there is multiple model in a same datacontract ? regards; |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Typical: 1 data contract with 1 model for 1 topic
Possible: 1 data contract with n models for n topics (1 model for each topic). This is similar to having many tables in a schema.
You can use links from a model to its avro schema, if that helps.
What do you mean with "top level topic field"? |
Beta Was this translation helpful? Give feedback.
A model is linked to a topic by name. You can use