Skip to content
Kafka Is Fun

Lesson 2 of 5

ISR: In-Sync Replicas

1 min read

Overview

The ISR is the set of replicas the leader considers caught up. If a follower has not sent fetch requests, or has not consumed up to the leader's log end offset, for replica.lag.time.max.ms (30 seconds by default), the leader removes it from the ISR, and it rejoins once it has caught up. The design page says the ISR set is persisted in the cluster metadata whenever it changes. The ISR is the first choice when a new leader is elected; eligible leader replicas are the next candidates.

Analogy

Key configuration

Broker settingsproperties
replica.lag.time.max.ms=30000 — default: how long a follower may go without fetching or catching up before it is removed from the ISR
replica.fetch.min.bytes=1 — default: minimum bytes expected for each replica fetch response

Production tip

Check yourself

What gets a follower removed from the ISR?

Sources

Checked against Kafka 4.2 documentation on Oct 2026. Draft: not yet reviewed by a Kafka specialist. Releases move on, so confirm against the current documentation before you act on a number.

Try it in the simulator

Guided scenarios for this module — the simulator opens with the exercise already running.

Prefer a picture? Open the live cluster in 3D and watch records move between producer, brokers and consumers.

Browse all troubleshooting entries