A checkpoint is a recoverable boundary
How durable checkpoints preserve consistent processing progress for safe recovery and replay, and how retention limits, output writes, and invalid saved state can disrupt recovery. · associate
A checkpoint records enough processing progress to restart from a known boundary. For a partitioned stream, that usually includes positions for each partition. A stateful calculation also needs saved state, such as running totals, that agrees with those positions.
A durable checkpoint survives the failure it protects against. Saving progress only on a disposable worker does not protect against losing that worker. Use the framework's supported checkpoint mechanism rather than writing an unrelated offset file beside an in-memory calculation.
This example uses Spark Structured Streaming on Amazon EMR, a dedicated Amazon S3 checkpoint location, and application-defined writes to DynamoDB. The arrows show data and recovery flows, not a universal transaction order.
1 / 6 Kinesis Data Streams retains input records for a configured retention period. Those retained records are the input available for replay.
AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.