liveBook · Manning

In-sync replica

An in-sync replica is a Kafka partition replica sufficiently caught up with its leader to remain eligible for failover.

How 3 Manning books explain it

Apache Kafka in Action

An in-sync replica is a Kafka partition replica whose data is up to date with the leader.

How it is used
Identifies current partition copies for broker-failure diagnosis and producer acknowledgement decisions.
How deep it goes
Explains follower fetching, lag and heartbeat removal, configurable timing, and the effect of ISR size on acknowledgements.
Examples
Uses topic-description output and a two-broker shutdown to show assigned replicas remaining listed while ISR shrinks and acks=all fails.
What you can do after
Diagnose/debug ISR shrinkage with kafka-topics.sh --describe and configure min.insync.replicas with acks=all to require replicated acknowledgements.

Read how Apache Kafka in Action explains in-sync replica →

Kafka for Architects

An in-sync replica is a Kafka partition replica that has caught up with its leader and is not substantially lagging.

How it is used
Connects replica health to producer acknowledgments, write admission, failover safety, and durability–availability decisions.
How deep it goes
Defines ISR membership and explains configuration consequences, but defers deeper client-application behavior and replication internals.
Examples
Uses a replication factor of 3 with min.insync.replicas set to 2, plus durability- and availability-oriented Kafka settings.
What you can do after
Operate/configure Kafka replication by selecting ISR thresholds and acknowledgment behavior for resilience or uptime.

Read how Kafka for Architects explains in-sync replica →

Kafka Streams in Action, Second Edition

An in-sync replica set is the set of Kafka partition replicas that are sufficiently caught up with the partition leader to remain eligible for failover.

How it is used
Explains Kafka replication, failover eligibility, and consumer-safe record visibility.
How deep it goes
Defines follower catch-up, lag-based removal, leader election, and high-water-mark behavior without implementing broker internals.
Examples
Uses leader-follower log copying, temporary post-producer lag, and configured follower delays.
What you can do after
Evaluate which replicas can replace a failed Kafka partition leader and why consumers avoid unreplicated records.

Read how Kafka Streams in Action, Second Edition explains in-sync replica →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.