Skip to content
Theory · Kafka reliability · lesson 2 of 7

ISR and the high watermark

The leader has appended a record to its log, and the followers have not copied it yet. If the record went to a consumer now and the leader were lost right after, the consumer would have seen a record that no longer exists in Kafka. Kafka guards against this with two ideas: a list of the replicas that keep up with the leader, and a boundary up to which records can be read.

In this lesson

  • ISR
  • High watermark
  • A timeout does not mean "not written"
  • acks=all and min.insync.replicas
  • Common mistake
  • Key points