You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2015/09/03 02:04:50 UTC
[jira] [Updated] (KAFKA-1668) TopicCommand doesn't warn if --topic
argument doesn't match any topics
[ https://issues.apache.org/jira/browse/KAFKA-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jun Rao updated KAFKA-1668:
---------------------------
Fix Version/s: (was: 0.8.2.2)
> 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
> Assignee: Manikumar Reddy
> Priority: Minor
> Labels: newbie
> Fix For: 0.8.3
>
> 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)