[ 
https://issues.apache.org/jira/browse/KAFKA-14326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17624070#comment-17624070
 ] 

Matt Allwood commented on KAFKA-14326:
--------------------------------------

Pretty much, just our app is a bit of a behemoth with the number of topics, so 
I had a little shell script with one topic per line. Something like


{code:java}
--input-topics "topic1,
                topic2,
                ...topicN"{code}
which makes it a lot more tolerable

I assume that bash sends through the newlines in this case, but I'm not used to 
handling inputs like this, so I'm not 100% sure. I was just surprised when it 
couldn't handle the strings as it was parsing all the whitespace.

> kafka-application-reset-tool should accept spaces between input/intermediate 
> topics
> -----------------------------------------------------------------------------------
>
>                 Key: KAFKA-14326
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14326
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>    Affects Versions: 3.0.1
>            Reporter: Matt Allwood
>            Assignee: Richard Joerger
>            Priority: Minor
>
> When running the application reset tool, the tool doesn't recognise topics 
> when there is whitespace separating them. This can affect readability and 
> maintainability of stored scripts where we may want to have each topic on a 
> new line, unless we use string concatenation
> It would be better if the tool would strip whitespace from around topic names



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to