Re: Data loss when ack != -1

2016-10-10 Thread Justin Lin
d from the ISR. This can continue even if only one broker is > alive, in which case only that broker will be eligible to be leader. If > you'd like to ensure that all committed messages are present on at least N > machines, set min.insync.replicas to N and required acks to -1. > > -Andrew >

Data loss when ack != -1

2016-10-07 Thread Justin Lin
Hi everyone, I am currently running kafka 0.8.1.1 in a cluster, with 6 brokers and i set the replication factor to 3. My producer set the ack to be 2 when producing messages. I recently came across a bad situation that i had to reboot one broker machine by shutdown the power, and that caused data