-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Description
Expected Behavior
Provide an option to configure a value or key subject name strategy per topic via application properties. This should be possible to configure individually per topic (or topic pattern) in case you are working on larger micro services with multiple topics. It should work like the already existing DelegatingByTopicSerializer or DelegatingByTopicDeserializer.
Current Behavior
Currently there is only a global property used by all producers.
spring.kafka.producer.properties.value.subject.name.strategy: your.personally.preferred.SubjectNameStrategy
Context
I stumbled upon this problem when I was about to implement a micro service that had to produce events to topics with different strategies.