liveBook · Manning

High-water mark

A high-water mark is a maximum observed value or configured threshold that bounds, tracks, or controls progress, storage, or processing.

How 2 Manning books explain it

Apache Kafka in Action

A high water mark is the highest offset in a Kafka partition whose record is available for consumption because the required replicas have received it.

How it is used
Uses replica progress to determine which Kafka records are committed and available to consumers.
How deep it goes
Explains HWM calculation through LEO and ISR fetches, then traces lag effects without detailing broker persistence internals.
Examples
Illustrates leader and follower offsets, a lagging ISR, HWM advancement, and blocked consumption when the minimum ISR is unavailable.
What you can do after
Diagnose/debug with it by relating consumer stalls and delayed visibility to ISR lag and minimum-replica settings.

Read how Apache Kafka in Action explains high-water mark →

Kafka Streams in Action, Second Edition

A high-water mark is the greatest partition offset replicated to all in-sync replicas and made accessible to consumers.

How it is used
Limits consumer visibility to records replicated across all in-sync replicas.
How deep it goes
Defines the replication boundary, works through offsets 8–10, and contrasts it with the transactional last stable offset.
Examples
Uses offsets 8–10 awaiting replication and contrasts nontransactional polling with read_committed polling.
What you can do after
Configure consumers with read_committed while distinguishing replication durability from transactional visibility.

Read how Kafka Streams in Action, Second Edition explains high-water mark →

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.