You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by rizal ramadhany <ri...@gmail.com> on 2012/11/08 05:40:52 UTC

Multi Costumer and Broker

Hi, i have a problem when i used kafka,...

I want to used kafka with multi costumer, broker and partition can you tell
me how to configure the kafka?


thanks
-- 
Regards,
*Rizal Ramadhany*

Re: Multi Costumer and Broker

Posted by David Arthur <mu...@gmail.com>.
Read through the quick start on the project page http://incubator.apache.org/kafka/quickstart.html

Kafka consumers need to be in the same "consumer group" in order to act as one (one message goes to one consumer, instead of going to all consumers). This functionality requires that you have more than one partition in the Kafka broker - actually you need more partitions than you want members of your consumer group.

Also, this type of question is better suited for the users list kafka-users@incubator.apache.org

Cheers, 
David

On Nov 7, 2012, at 11:40 PM, rizal ramadhany wrote:

> Hi, i have a problem when i used kafka,...
> 
> I want to used kafka with multi costumer, broker and partition can you tell
> me how to configure the kafka?
> 
> 
> thanks
> -- 
> Regards,
> *Rizal Ramadhany*


Re: Multi Costumer and Broker

Posted by David Arthur <mu...@gmail.com>.
Read through the quick start on the project page http://incubator.apache.org/kafka/quickstart.html

Kafka consumers need to be in the same "consumer group" in order to act as one (one message goes to one consumer, instead of going to all consumers). This functionality requires that you have more than one partition in the Kafka broker - actually you need more partitions than you want members of your consumer group.

Also, this type of question is better suited for the users list kafka-users@incubator.apache.org

Cheers, 
David

On Nov 7, 2012, at 11:40 PM, rizal ramadhany wrote:

> Hi, i have a problem when i used kafka,...
> 
> I want to used kafka with multi costumer, broker and partition can you tell
> me how to configure the kafka?
> 
> 
> thanks
> -- 
> Regards,
> *Rizal Ramadhany*