DZone Java Zone
Follow
Exactly-Once Stream Processing With Apache Flink
Exactly-once semantics is one of the most cited — and most misunderstood — promises in stream processing. This article explains how Apache Flink actually delivers exactly-once guarantees: distributed checkpointing, state backend selection, two-phase-commit sinks, and the operational tuning that separates a working demo from a reliable production pipeline. It also covers the failure modes that show up most often in real deployments and how to configure around them.
What "Exactly-Once" Really MeansAsk five engineers what exactly-once means, and you will get five answers. In Flink, the useful distinction is between processing semantics and end-to-end semantics.