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

ASF GitHub Bot commented on KAFKA-5588:
---------------------------------------

GitHub user ppatierno opened a pull request:

    https://github.com/apache/kafka/pull/3524

    KAFKA-5588: uselss --new-consumer option

    Get rid of the --new-consumer option for the ConsoleConsumer

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ppatierno/kafka kafka-5588

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/3524.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3524
    
----
commit f9309497551c7058696466c06755defddad6238c
Author: ppatierno <ppatie...@live.com>
Date:   2017-07-13T07:53:16Z

    Get rid of the --new-consumer option for the ConsoleConsumer

----


> ConsumerConsole : uselss --new-consumer option
> ----------------------------------------------
>
>                 Key: KAFKA-5588
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5588
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Paolo Patierno
>            Assignee: Paolo Patierno
>            Priority: Minor
>
> Hi,
> it seems to me that the --new-consumer option on the ConsoleConsumer is 
> useless.
> The useOldConsumer var is related to specify --zookeeper on the command line 
> but then the ----bootstrap-server option (or the --new-consumer) can't be 
> used.
> If you use --bootstrap-server option then the new consumer is used 
> automatically so no need for --new-consumer.
> It turns out the using the old or new consumer is just related on using 
> --zookeeper or --bootstrap-server option (which can't be used together, so I 
> can't use new consumer connecting to zookeeper).
> It's also clear when you use --zookeeper for the old consumer and the output 
> from help says :
> "Consider using the new consumer by passing [bootstrap-server] instead of 
> [zookeeper]"
> I'm going to remove the --new-consumer option from the tool.
> Thanks,
> Paolo.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to