Hi ,

 If I have kafka cluster along with replication .

Say cluster of 3 kafka-server and replication factor of message with 2.

Que 1:

I have 1-consumer group but 2 consumer in one group reading from 1-Topic,

If I enable auto commit true in consumer , will same message will be read
twice ?

Que2:

If I have 2 consumer group reading from 1-Topic

If I enable auto commit true in consumer , will same message will be read
twice ?


and If I set auto-commit true will message will be deleted ?






*Regards,*
*Laxmi Narayan Patel*
*MCA NIT Durgapur (2011-2014)*
*Mob:-    9741292048,8345847473    *

On Tue, Jan 3, 2017 at 12:34 PM, Kunal Gupta <kunal.gu...@cube26.com> wrote:

> I don't think so because more partition can led to unavailability but yes
> can led to higher throughput. But it cause more problems like increasing
> end to end latency, requires more open file handler and require more memory
> at client side.
>
> *Thanks, Kunal*
> *+91-9958189589*
> *Data Analyst*
> *First Paper Publication : **http://dl.acm.org/citation.cfm?id=2790798
> <http://dl.acm.org/citation.cfm?id=2790798> *
> *Second Paper Publication : http://dl.acm.org/citation.cfm?id=2947432
> <http://dl.acm.org/citation.cfm?id=2947432>*
> *Blog:- **http://learnhardwithkunalgupta.blogspot.in
> <http://learnhardwithkunalgupta.blogspot.in> *
>
>
>
>
>
> On Tue, Jan 3, 2017 at 12:25 PM, Laxmi Narayan NIT DGP <
> nit.dgp...@gmail.com
> > wrote:
>
> > Hi,
> >
> > Does adding more partitions to kafka will help in scaling ?
> >
> >
> > *Regards,*
> > *Laxmi Narayan Patel*
> > *MCA NIT Durgapur (2011-2014)*
> > *Mob:-    9741292048,8345847473    *
> >
>

Reply via email to