I mean, the producer acks to be 'none' On Sat, Jan 25, 2020 at 4:49 PM Pushkar Deole <pdeole2...@gmail.com> 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 replicas to receive > the message. In this case, how min.insync.replicas of 2 will be guaranteed > by kafka? > > On Sat, Jan 25, 2020 at 12:50 PM Boyang Chen <reluctanthero...@gmail.com> > wrote: > >> 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 <pdeole2...@gmail.com> >> wrote: >> >> > Hi All, >> > >> > I am a bit confused about min.insync.replicas and producer acks. Are >> these >> > two configurations achieve the same thing? e.g. if I set >> > min.insync.replicas to 2, I can also achieve it by setting producer >> acks to >> > 2 so the producer won't get a ack until 2 replicas received the message? >> > >> >