You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Matthias J. Sax (JIRA)" <ji...@apache.org> on 2018/05/29 18:31:00 UTC
[jira] [Created] (KAFKA-6966) Extend `TopologyDescription.Sink` to
return `TopicNameExtractor`
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)