min.insync.replicas

The topic or broker setting for the smallest number of in-sync replicas that must confirm an acks=all write for it to succeed.

In more detail

The default is 1. With replication factor three and min.insync.replicas two, the topic keeps accepting writes after one broker fails but refuses them after two, rather than risk losing data. It has no effect on producers using acks 0 or 1.

Example

rpk topic alter-config orders --set min.insync.replicas=2

Related terms

Taught in

References

Certification courses