You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jagadesh Adireddi (JIRA)" <ji...@apache.org> on 2018/06/26 14:39:00 UTC
[jira] [Comment Edited] (KAFKA-6964) Add ability to print all
internal topic names
[ https://issues.apache.org/jira/browse/KAFKA-6964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16523810#comment-16523810 ]
Jagadesh Adireddi edited comment on KAFKA-6964 at 6/26/18 2:38 PM:
-------------------------------------------------------------------
[~mjsax], After revisiting code, got 2 points in mind. Can you please help me in understanding, which one is valid.
1) As described in the ticket , we need to print only "internal topic". Does this mean we need to expose InternalTopologyBuilder#internalTopicNames Set, that got added through `InternalTopologyBuilder#addInternalTopic`
2) As mentioned in your comment, repartition topic and changelog topic constitutes internal topics. Can we call `InternalTopologyBuilder#topicGroups` and read `InternalTopicConfig#name` field from both repartitionTopics, stateChangelogTopics and print them.
was (Author: adireddijagadesh@gmail.com):
[~mjsax], After revisiting code, got 2 points in mind. Can you please help me in understanding, which one is valid.
1) As described in the ticket , we need to print only "internal topic". Does this mean we need to expose InternalTopologyBuilder#internalTopicNames Set, that got added through `InternalTopologyBuilder#addInternalTopic`
2) As mentioned in your comment, repartition topic and changelog topic constitutes internal topics. Can we call `InternalTopologyBuilder#topicGroups` and read 'InternalTopicConfig name' filed from both repartitionTopics, stateChangelogTopics and print them.
> Add ability to print all internal topic names
> ---------------------------------------------
>
> Key: KAFKA-6964
> URL: https://issues.apache.org/jira/browse/KAFKA-6964
> Project: Kafka
> Issue Type: New Feature
> Components: streams
> Reporter: Bill Bejeck
> Assignee: Jagadesh Adireddi
> Priority: Major
> Labels: needs-kip
>
> For security access reasons some streams users need to build all internal topics before deploying their streams application. While it's possible to get all internal topic names from the {{Topology#describe()}} method, it would be nice to have a separate method that prints out only the internal topic names to ease the process.
> I think this change will require a KIP, so I've added the appropriate label.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)