Closed rsaltrelli closed 4 years ago
Indeed, it's something that would be useful. I will iterate on this and propose a PR soon.
@rsaltrelli I created a PR in this regard, can you check it out and tell me if this answers the requirement you had in mind? https://github.com/adevinta/zoe/pull/10
Some of my topics have string keys while others have Avro keys. Similarly, most of my topics have Avro values but some have JSON values. The following configuration implies that you can only specify one type of serializer/deserializer per cluster. Is there a way to perhaps override these configurations on a topic-by-topic basis?
Is there a way to perhaps override these configurations on a topic-by-topic basis like this?
So topic1 would use
StringDeserializer
andStringSerializer
for its keys as dictated by the cluster configuration, but topic2 would useKafkaAvroDeserializer
andKafkaAvroSerializer
instead.