[ https://issues.apache.org/jira/browse/KAFKA-6435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17127715#comment-17127715 ]
Guozhang Wang commented on KAFKA-6435: -------------------------------------- What about just adding a `--internal-topics` instead of a negative regex to the tools? It is opt-in and by default we still use prefix to get all internal topics. With that the workflow would be: 1. use dry-run to check the internal topic names; 2. if internal topics name looks good, just without dry-run and without internal-topics specification; otherwise, list the internal topic names instead. > Application Reset Tool might delete incorrect internal topics > ------------------------------------------------------------- > > Key: KAFKA-6435 > URL: https://issues.apache.org/jira/browse/KAFKA-6435 > Project: Kafka > Issue Type: Bug > Components: streams, tools > Affects Versions: 1.0.0 > Reporter: Matthias J. Sax > Priority: Major > Labels: bug, help-wanted, newbie > > The streams application reset tool, deletes all topic that start with > {{<application.id>-}}. > If people have two versions of the same application and name them {{"app"}} > and {{"app-v2"}}, resetting {{"app"}} would also delete the internal topics > of {{"app-v2"}}. > We either need to disallow the dash in the application ID, or improve the > topic identification logic in the reset tool to fix this. -- This message was sent by Atlassian Jira (v8.3.4#803005)