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

Gwen Shapira updated KAFKA-2416:
--------------------------------
    Labels: newbie  (was: )

> misleading kafka-console-consumer.sh --property option
> ------------------------------------------------------
>
>                 Key: KAFKA-2416
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2416
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Onur Karaman
>            Priority: Minor
>              Labels: newbie
>
> So I ran into this a long time ago and only just now remembered to document 
> it:
> kafka-console-consumer.sh takes a --property option, but this option is just 
> an argument for the message formatter. I've had ~10 users ask why --property 
> wasn't properly applying their consumer configuration key-value pairs. The 
> tool doesn't provide a description for --property, either. I know in the 
> past, the user was able to provide all consumer configurations from the 
> command line instead of from a file, so it's pretty understandable why the 
> mistake would be made.
> Some solutions are:
> 1. just add a description to --property to the existing tool. It's not ideal 
> because the "property" name is still there, but it seems unlikely to break 
> existing users.
> 2. fix the existing kafka-console-consumer option name. This breaks existing 
> users so probably not okay.
> 3. make KAFKA-2015 actually a brand new console consumer with a more accurate 
> option name like --formatter-arg or --formatter-args. This won't break 
> existing users.



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

Reply via email to