Hi, To prevent data loss within a kafka cluster, it is recommend to set replication factor to 2/3 with min.insync replica of 2 and acks = all
Hopefully this article can help provide further insight: https://www.confluent.io/blog/3-ways-prepare-disaster-recovery-multi-datacenter-apache-kafka-deployments On Sat, May 4, 2019 at 9:21 PM mujvf...@gmail.com <mujvf...@gmail.com> wrote: > dear > how can I config to ensure that data is lost as little as possible, > what is the best practice? >