[ https://issues.apache.org/jira/browse/KAFKA-9913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17091804#comment-17091804 ]
Boyang Chen commented on KAFKA-9913: ------------------------------------ I'm fine with combining the two tickets in one KIP as this saves the KIP review iteration. [~guozhang] Could you reflect this ticket in the KIP title as well? Something like `Augment TopologyDescription with serde information and programmatic interface` > 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 > Assignee: Guozhang Wang > Priority: Minor > Labels: beginner, 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]) > KIP-598: > [https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=148648762] -- This message was sent by Atlassian Jira (v8.3.4#803005)