You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthias J. Sax (Jira)" <ji...@apache.org> on 2020/04/23 21:03:00 UTC

[jira] [Created] (KAFKA-9913) TopologyDescription should expose all topic name progrematically

Matthias J. Sax created KAFKA-9913:
--------------------------------------

             Summary: 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


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)