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 <pdeole2015@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?
>
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 <pdeole2015@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?
>
Comments
Post a Comment