kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabio Pardi <f.pa...@portavita.eu>
Subject Re: Semantics of acks=all
Date Fri, 11 Dec 2020 12:51:34 GMT


On 11/12/2020 13:20, Stig Rohde Døssing wrote:
> Hi,
>
> We have a topic with min.insync.replicas = 2 where each partition is
> replicated to 3 nodes.
>
> When we send a produce request with acks=all, the request should fail if
> the records don't make it to at least 2 nodes.
>
> If the produce request fails, what does the partition leader do with the
> records it has written to the local log. Are they deleted, or will the
> producer's retry cause duplication?
>
Hi,

the record is not committed to the filesystem and an error is returned to the producer.

regards,

fabio pardi



Mime
View raw message