Re: min.insync.replicas and producer acks

2020-01-25 Thread Pushkar Deole
I mean, the producer acks to be 'none' On Sat, Jan 25, 2020 at 4:49 PM Pushkar Deole wrote: > Thank you for a quick response. > > What would happen if I set the producer acks to be 'one' and > min.insync.replicas to 2. In this case the producer will return when only > leader received the message

Re: min.insync.replicas and producer acks

2020-01-25 Thread M. Manna
Pushkar, On Sat, 25 Jan 2020 at 11:19, Pushkar Deole wrote: > Thank you for a quick response. > > What would happen if I set the producer acks to be 'one' and > min.insync.replicas to 2. In this case the producer will return when only > leader received the message but will not wait for other rep

Re: min.insync.replicas and producer acks

2020-01-25 Thread Pushkar Deole
Thank you for a quick response. What would happen if I set the producer acks to be 'one' and min.insync.replicas to 2. In this case the producer will return when only leader received the message but will not wait for other replicas to receive the message. In this case, how min.insync.replicas of 2

Re: min.insync.replicas and producer acks

2020-01-24 Thread Boyang Chen
Hey Pushkar, producer ack only has 3 options: none, one, or all. You could not nominate an arbitrary number. On Fri, Jan 24, 2020 at 7:53 PM Pushkar Deole wrote: > Hi All, > > I am a bit confused about min.insync.replicas and producer acks. Are these > two configurations achieve the same thing?