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

Neha Narkhede commented on KAFKA-2157:
--------------------------------------

[~tvaughan77] topics is correct. Patch is appreciated :)

> 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
>            Priority: Minor
>
> 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)

Reply via email to