I was just looking into using KafkaAvroSerializer to produce records to a Kafka 
topic.  We are interested because the wire format has a reference to the schema 
so we don’t have to schema lookup information independently.

We plan to keep a single topic that contain records using many different 
schemas (it’s important to maintain the ordering of these records).

In looking at the code, it appears that it registers the schema with the 
registry with a topic+”-topic” subject.  This would seem to imply an assumption 
that a topic has a single schema associated with it (not many schemas that can 
vary from record to record).

Am I understanding this correctly?  It seems like a surprising constraint.

Reply via email to