Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9187F200CC4 for ; Thu, 13 Jul 2017 19:39:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 90B6816C130; Thu, 13 Jul 2017 17:39:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D750216BD75 for ; Thu, 13 Jul 2017 19:39:03 +0200 (CEST) Received: (qmail 49541 invoked by uid 500); 13 Jul 2017 17:39:03 -0000 Mailing-List: contact jira-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@kafka.apache.org Delivered-To: mailing list jira@kafka.apache.org Received: (qmail 49530 invoked by uid 99); 13 Jul 2017 17:39:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2017 17:39:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 9D45CC066D for ; Thu, 13 Jul 2017 17:39:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id w4LDj2MzFhTe for ; Thu, 13 Jul 2017 17:39:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 252AB5F666 for ; Thu, 13 Jul 2017 17:39:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 69952E0069 for ; Thu, 13 Jul 2017 17:39:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 28AA624711 for ; Thu, 13 Jul 2017 17:39:00 +0000 (UTC) Date: Thu, 13 Jul 2017 17:39:00 +0000 (UTC) From: "Paolo Patierno (JIRA)" To: jira@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KAFKA-5588) ConsumerConsole : uselss --new-consumer option MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 13 Jul 2017 17:39:04 -0000 [ https://issues.apache.org/jira/browse/KAFKA-5588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16086070#comment-16086070 ] Paolo Patierno commented on KAFKA-5588: --------------------------------------- [~vahid] thanks for the clarification. Where we could check to be sure about that ? Asking on the dev list ? > 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)