Itai Frenkel 2013-04-12, 03:49
-Re: Question about Split brain problem for the case of a single consumer per topic
It will be easier to explain things if we know your use case. I'll
take a stab at your questions -
1. At most one consumer per topic.
2. That this single consumer would consume all partitions.
If you have one consumer in a group, you can achieve this. However, I
still wonder why you would want this guarantee since essentially that
consumer is a single point of failure.
3. In case of consumer failure, eventual guarantee of one
consumer per topic.
If you deploy just one consumer in a group, it is your responsibility
to handle its failover. Kafka will only handle automatic failovers for
consumers in the same group.
4. In case of consumer recovery, some way to rebalance the topics
If those consumers are in the same group, rebalance will happen automatically.
On Thu, Apr 11, 2013 at 7:51 PM, Itai Frenkel <[EMAIL PROTECTED]> wrote: