Matthias J. Sax created KAFKA-6966:
--------------------------------------
Summary: Extend `TopologyDescription.Sink` to return
`TopicNameExtractor`
Key: KAFKA-6966
URL: https://issues.apache.org/jira/browse/KAFKA-6966
Project: Kafka
Issue Type: Bug
Components: streams
Affects Versions: 2.0.0
Reporter: Matthias J. Sax
With KIP-303, a dynamic routing feature was added and
`TopologyDescription.Sink#topic()` returns `null` if this feature is used.
It would be useful to get the actually used `TopicNameExtractor` class from the
`TopologyDescription`.
We suggest to add `Class<? extends TopicNameExtractor>
TopologyDescription.Sink#topicNameExtractor()` and let it return `null` if
dynamic routing feature is not used.
This is a public API change and requires a KIP:
https://cwiki.apache.org/confluence/display/KAFKA/Kafka+Improvement+Proposals
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)