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

Manikumar Reddy commented on KAFKA-1668:
----------------------------------------

Created reviewboard https://reviews.apache.org/r/26351/diff/
 against branch origin/trunk

> TopicCommand doesn't warn if --topic argument doesn't match any topics
> ----------------------------------------------------------------------
>
>                 Key: KAFKA-1668
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1668
>             Project: Kafka
>          Issue Type: Bug
>          Components: tools
>            Reporter: Ryan Berdeen
>            Priority: Minor
>              Labels: newbie
>         Attachments: KAFKA-1668.patch
>
>
> Running {{kafka-topics.sh --alter}} with an invalid {{--topic}} argument 
> produces no output and exits with 0, indicating success.
> {code}
> $ bin/kafka-topics.sh --topic does-not-exist --alter --config invalid=xxx 
> --zookeeper zkhost:2181
> $ echo $?
> 0
> {code}
> An invalid topic name or a regular expression that matches 0 topics should at 
> least print a warning.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to