[
https://issues.apache.org/jira/browse/KAFKA-9913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthias J. Sax updated KAFKA-9913:
-----------------------------------
Description:
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]
was:
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])
> 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)