[ https://issues.apache.org/jira/browse/KAFKA-9913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17091168#comment-17091168 ]
Guozhang Wang commented on KAFKA-9913: -------------------------------------- [~mjsax] I will incorporate this ticket as part of https://cwiki.apache.org/confluence/display/KAFKA/KIP-594%3A+Expose+output+topic+names+from+TopologyTestDriver if you do not mind. > TopologyDescription should expose all topic name progrematically > ---------------------------------------------------------------- > > Key: KAFKA-9913 > URL: https://issues.apache.org/jira/browse/KAFKA-9913 > Project: Kafka > Issue Type: Improvement > Components: streams > Reporter: Matthias J. Sax > Priority: Minor > Labels: beginner, need-kip, newbie > > During the discussion of KIP-594, it became clear that it is helpful for > testing purpose to verify which topics are used in a topology (ie, all user > input and output topics, as well as internal topics like repartiton or > changelog topics). > While the current `TopologyDescription` does expose this information (only > changelog topic names are missing atm), there is no convenient way to get all > topic names at once, but one must traverse the nodes of each sub-topology to > collect this information manually. > Hence, the proposal is to add utility methods to `TopologyDescription` that > expose this information programatically. As this is a public API change, it > will be required to write a KIP > ([https://cwiki.apache.org/confluence/display/KAFKA/Kafka+Improvement+Proposals]) -- This message was sent by Atlassian Jira (v8.3.4#803005)