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 2016/04/18 11:50:25 UTC

[jira] [Resolved] (KAFKA-2157) kafka-console-consumer.sh: Mismatch in CLI "usage" docs vs. Scala Option parsing

     [ https://issues.apache.org/jira/browse/KAFKA-2157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manikumar Reddy resolved KAFKA-2157.
------------------------------------
       Resolution: Fixed
         Assignee: Manikumar Reddy
    Fix Version/s: 0.10.0.0

This is issue not exists in latest version.

> kafka-console-consumer.sh: Mismatch in CLI "usage" docs vs. Scala Option parsing
> --------------------------------------------------------------------------------
>
>                 Key: KAFKA-2157
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2157
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.8.1.1
>            Reporter: Thomas Vaughan
>            Assignee: Manikumar Reddy
>            Priority: Minor
>             Fix For: 0.10.0.0
>
>
> I built kafka-0.8.2.1 from source and noticed there's a mismatch between the command line "usage" help and the actual arguments expected by the ConsumerPerformace$ConsumerPerfConfig.class file.
> On the command line if you run "bin/kafka-console-consumer.sh" with no arguments it claims you need these required fields:
> {code}
> --broker-list <hostname:port,..,        REQUIRED: broker info (the list of     
>   hostname:port>                          broker host and port for bootstrap.
> ...
> --topics <topic1,topic2..>              REQUIRED: The comma separated list of  
>                                           topics to produce to      
> {code}
> Supplying that script with those flags will cause joptsimple.OptionException.unrecognizedOption exceptions because what's really needed are "\--zookeeper" and "\--topic" (singular, not plural) options.



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