Introduction
In Kafka, In-sync replicas (ISR) are the set of replicas that are fully caught up with the leader. They help keep data safe by ensuring copies of messages are stored on multiple brokers before confirming writes.
When you want to ensure no data loss if a broker fails by having multiple copies of data.
When you want to monitor which replicas are healthy and up-to-date with the leader.
When you want to configure how many replicas must confirm a write before it is considered successful.
When troubleshooting replication lag or broker failures in a Kafka cluster.
When tuning Kafka for high availability and durability of messages.