QuestionQ57

VerifiedProductionizing Data Pipelines

What is used by Spark to record the offset range of the data being processed in each trigger in order for Structured Streaming to reliably track the exact progress of the processing so that it can handle any kind of failure by restarting and/or reprocessing?

Explanation

Structured Streaming's fault-tolerance model relies on checkpointing and write-ahead logs to record the offset range of data processed in each trigger, letting the engine restart and reprocess from the exact point of failure. Replayable sources and idempotent sinks are properties the source and sink must satisfy, but they are not the mechanism that records progress. Learn more: Structured Streaming Programming Guide - Fault Tolerance Semantics

Community Discussion

No comments yet. Be the first to start the discussion!