You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Manikumar Reddy (JIRA)" <ji...@apache.org> on 2014/10/05 10:33:34 UTC
[jira] [Commented] (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: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)