You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by yang chen <sh...@gmail.com> on 2020/05/09 14:17:07 UTC

graceful shutdown may be cause loss message

hello, currently CONTROLLED_SHUTDOWN API does not ensure the current leader
sends all data to followers which in isr. it may cause data loss if the
client does not use ack=all.
I think semantic is a little weak. I can accept data loss if the broker
crash, but we can try best to avoid data loss when the graceful shutdown.

The above conclusion is from the code source, not the actual environment.