You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Lukáš Havrlant <lu...@havrlant.cz> on 2015/04/22 07:45:21 UTC

How to set console consumer group ID

Hi,
is it possible to set group ID for console consumer on command line?
Something like

$ bin/kafka-console-consumer.sh --groupid myGroupId

Lukáš

Re: How to set console consumer group ID

Posted by Lukáš Havrlant <lu...@havrlant.cz>.
Thank you, Raja!

2015-04-23 0:34 GMT+02:00 Rajasekar Elango <re...@salesforce.com>:

> Yes, you pass any consumer property including group.id by having them in
> property file and passing path to it using --consumer.config of consumer
> consumer.
>
> Thanks,
> Raja.
>
> On Wed, Apr 22, 2015 at 1:45 AM, Lukáš Havrlant <lu...@havrlant.cz> wrote:
>
> > Hi,
> > is it possible to set group ID for console consumer on command line?
> > Something like
> >
> > $ bin/kafka-console-consumer.sh --groupid myGroupId
> >
> > Lukáš
> >
>
>
>
> --
> Thanks,
> Raja.
>

Re: How to set console consumer group ID

Posted by Rajasekar Elango <re...@salesforce.com>.
Yes, you pass any consumer property including group.id by having them in
property file and passing path to it using --consumer.config of consumer
consumer.

Thanks,
Raja.

On Wed, Apr 22, 2015 at 1:45 AM, Lukáš Havrlant <lu...@havrlant.cz> wrote:

> Hi,
> is it possible to set group ID for console consumer on command line?
> Something like
>
> $ bin/kafka-console-consumer.sh --groupid myGroupId
>
> Lukáš
>



-- 
Thanks,
Raja.