kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guozhang Wang <wangg...@gmail.com>
Subject Re: as i understand rebalance happens on client side
Date Tue, 01 Oct 2013 15:35:01 GMT
SimpleConsumer do not have any concept of group management, only the
high-level consumers have. So multiple simple consumers can independently
consume from the same partition(s).

Guozhang


On Tue, Oct 1, 2013 at 8:11 AM, Kane Kane <kane.isturm@gmail.com> wrote:

> Yeah, I noticed that, i'm curious how balancing happens if SimpleConsumer
> is used. I.e. i can provide a partition to read from if i use
> SimpleConsumer, but what if someone else already attached to that
> partition, what would happen? Also what would happen if one SimpleConsumer
> attached to all partitions? Noone would be able to join?
>
>
> On Tue, Oct 1, 2013 at 6:33 AM, Neha Narkhede <neha.narkhede@gmail.com
> >wrote:
>
> > There are 2 types of consumer clients in Kafka -
> ZookeeperConsumerConnector
> > and SimpleConsumer. Only the former has the re balancing logic.
> >
> > Thanks,
> > Neha
> > On Oct 1, 2013 6:30 AM, "Kane Kane" <kane.isturm@gmail.com> wrote:
> >
> > > But it looks like some clients don't implement it?
> > >
> >
>



-- 
-- Guozhang

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message