O'Reilly logo
  • Abhishek Singh thinks this is interesting:

An out-of-sync replica gets back into sync when it connects to Zookeeper again and catches up to the most recent message written to the leader. This usually happens quickly after a temporary network glitch is healed but can take a while if the broker the replica is stored on was down for a longer period of time.


Cover of Kafka: The Definitive Guide


Consumer always connects to the leader for reading the messages ?