0

in kafka, we have a requirement for multiple event types in the same topic. we were able to achieve this using the following configuration: value.subject.name.strategy=io.confluent.kafka.serializers.subject.TopicRecordNameStrategy however, this only partially works as this does not seem to be applied to internal (repartition and change log) topics created during grouping and aggregation. we then tried to configure the internal topic parameters but to no avail.

any suggestions as to how we could resolve this would be appreciated.

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
sidney
  • 1
  • this [question](https://stackoverflow.com/questions/57456747/can-i-config-kafka-streams-internal-topics-avro-schema-subject-name-stategy?newreg=04f29cd51b2343499be39962394d84a6) alludes to the same problem but i have no idea if it was resolved. – sidney Apr 19 '21 at 13:56
  • As commented there, did you try using the topicPrefix method? – OneCricketeer Apr 20 '21 at 13:44
  • 1
    we did and it works now. we are using spring-cloud-stream-binder-kafka-streams and sometimes it confusion as to what we need to configure where. basically, the issues are not the internal topics but the serdes we configure on #groupByKey(Grouped) and we had created a custom ListSerde for use in Materialized.as (#aggregate) that was reconfiguring the original serdes (I'll get my coat!). many thanks. – sidney Apr 21 '21 at 15:03
  • Cool. Feel free to answer your own question below – OneCricketeer Apr 22 '21 at 12:55

0 Answers0