You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Miroslav Tsvetanov <ts...@gmail.com> on 2020/12/21 09:45:49 UTC

Kafka in-sync replicas

Hello everyone,

I`m running Kafka with 3 brokers with replication factor 3 and in-sync
replicas 2.
If I set on producer side *acks=all* how many brokers should acknowledge
the record?

Thanks in advance.

Best regards,
Miroslav

Re: Kafka in-sync replicas

Posted by Tom Bentley <tb...@redhat.com>.
The leader should send the produce response (the acknowledgement) to the
producer once the leader has persisted the batch to its log *and* the
leader knows that one of the followers has persisted it to its log.

On Mon, Dec 21, 2020 at 9:52 AM Miroslav Tsvetanov <ts...@gmail.com>
wrote:

> Hello everyone,
>
> I`m running Kafka with 3 brokers with replication factor 3 and in-sync
> replicas 2.
> If I set on producer side *acks=all* how many brokers should acknowledge
> the record?
>
> Thanks in advance.
>
> Best regards,
> Miroslav
>