Ryan Berdeen created KAFKA-1668:
-----------------------------------

             Summary: 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
            Reporter: Ryan Berdeen


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