You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by "Narala, Ravi" <Ra...@Level3.com> on 2012/06/25 22:26:17 UTC

Consumer Group

How do I specify multiple consumer groups in consumer. properties ?

Thanks,

Ravi Narala
Web Services & Integration
Level 3 Communications
200 Office Galleria Center
Southfield, MI 48035 US
p: 248-436-9324
e: ravi.narala@level3.com<ma...@level3.com>


RE: Consumer Group

Posted by "Narala, Ravi" <Ra...@Level3.com>.
Thanks for the quick response. So basically I need assign a consumer thread for each group separately.

Ravi Narala
Web Services & Integration
Level 3 Communications
200 Office Galleria Center 
Southfield, MI 48035 US
p: 248-436-9324
e: ravi.narala@level3.com

-----Original Message-----
From: Neha Narkhede [mailto:neha.narkhede@gmail.com] 
Sent: Monday, June 25, 2012 4:59 PM
To: kafka-users@incubator.apache.org
Subject: Re: Consumer Group

Ravi,

You can start n instances of the ZookeeperConsumerConnector, each with a different "groupid' value.

Thanks,
Neha

On Mon, Jun 25, 2012 at 1:42 PM, Narala, Ravi <Ra...@level3.com> wrote:
> So here is my use case.
>
> I have 1 producer that is going to send the same message to multiple consumers.
>
> I need to have each consumer in its own consumer group. I want to make sure that the same message is received by each consumer.  What do I have to do?
>
> Thanks,
>
> Ravi Narala
> Web Services & Integration
> Level 3 Communications
> 200 Office Galleria Center
> Southfield, MI 48035 US
> p: 248-436-9324
> e: ravi.narala@level3.com
>
> -----Original Message-----
> From: Neha Narkhede [mailto:neha.narkhede@gmail.com]
> Sent: Monday, June 25, 2012 4:30 PM
> To: kafka-users@incubator.apache.org
> Subject: Re: Consumer Group
>
> Ravi,
>
> You cannot. One instance of a consumer belongs only to a single consumer group.
>
> Thanks,
> Neha
>
> On Mon, Jun 25, 2012 at 1:26 PM, Narala, Ravi <Ra...@level3.com> wrote:
>> How do I specify multiple consumer groups in consumer. properties ?
>>
>> Thanks,
>>
>> Ravi Narala
>> Web Services & Integration
>> Level 3 Communications
>> 200 Office Galleria Center
>> Southfield, MI 48035 US
>> p: 248-436-9324
>> e: ravi.narala@level3.com<ma...@level3.com>
>>

Re: Consumer Group

Posted by Neha Narkhede <ne...@gmail.com>.
Ravi,

You can start n instances of the ZookeeperConsumerConnector, each with
a different "groupid' value.

Thanks,
Neha

On Mon, Jun 25, 2012 at 1:42 PM, Narala, Ravi <Ra...@level3.com> wrote:
> So here is my use case.
>
> I have 1 producer that is going to send the same message to multiple consumers.
>
> I need to have each consumer in its own consumer group. I want to make sure that the same message is received by each consumer.  What do I have to do?
>
> Thanks,
>
> Ravi Narala
> Web Services & Integration
> Level 3 Communications
> 200 Office Galleria Center
> Southfield, MI 48035 US
> p: 248-436-9324
> e: ravi.narala@level3.com
>
> -----Original Message-----
> From: Neha Narkhede [mailto:neha.narkhede@gmail.com]
> Sent: Monday, June 25, 2012 4:30 PM
> To: kafka-users@incubator.apache.org
> Subject: Re: Consumer Group
>
> Ravi,
>
> You cannot. One instance of a consumer belongs only to a single consumer group.
>
> Thanks,
> Neha
>
> On Mon, Jun 25, 2012 at 1:26 PM, Narala, Ravi <Ra...@level3.com> wrote:
>> How do I specify multiple consumer groups in consumer. properties ?
>>
>> Thanks,
>>
>> Ravi Narala
>> Web Services & Integration
>> Level 3 Communications
>> 200 Office Galleria Center
>> Southfield, MI 48035 US
>> p: 248-436-9324
>> e: ravi.narala@level3.com<ma...@level3.com>
>>

RE: Consumer Group

Posted by "Narala, Ravi" <Ra...@Level3.com>.
So here is my use case.  

I have 1 producer that is going to send the same message to multiple consumers.  

I need to have each consumer in its own consumer group. I want to make sure that the same message is received by each consumer.  What do I have to do?

Thanks,

Ravi Narala
Web Services & Integration
Level 3 Communications
200 Office Galleria Center 
Southfield, MI 48035 US
p: 248-436-9324
e: ravi.narala@level3.com

-----Original Message-----
From: Neha Narkhede [mailto:neha.narkhede@gmail.com] 
Sent: Monday, June 25, 2012 4:30 PM
To: kafka-users@incubator.apache.org
Subject: Re: Consumer Group

Ravi,

You cannot. One instance of a consumer belongs only to a single consumer group.

Thanks,
Neha

On Mon, Jun 25, 2012 at 1:26 PM, Narala, Ravi <Ra...@level3.com> wrote:
> How do I specify multiple consumer groups in consumer. properties ?
>
> Thanks,
>
> Ravi Narala
> Web Services & Integration
> Level 3 Communications
> 200 Office Galleria Center
> Southfield, MI 48035 US
> p: 248-436-9324
> e: ravi.narala@level3.com<ma...@level3.com>
>

Re: Consumer Group

Posted by Neha Narkhede <ne...@gmail.com>.
Ravi,

You cannot. One instance of a consumer belongs only to a single consumer group.

Thanks,
Neha

On Mon, Jun 25, 2012 at 1:26 PM, Narala, Ravi <Ra...@level3.com> wrote:
> How do I specify multiple consumer groups in consumer. properties ?
>
> Thanks,
>
> Ravi Narala
> Web Services & Integration
> Level 3 Communications
> 200 Office Galleria Center
> Southfield, MI 48035 US
> p: 248-436-9324
> e: ravi.narala@level3.com<ma...@level3.com>
>