QuestionQ169

VerifiedStructured Streaming

A data engineer is creating a Structured Streaming pipeline and wants it to recover after failures or deliberate shutdowns by resuming from where it previously stopped.

How can this be accomplished?

Explanation

Structured Streaming resumes a query by restoring its recorded offsets, progress, and state from a durable checkpoint. Configure checkpointLocation on writeStream so the streaming query persists and reuses that checkpoint across restarts.

Learn more

Community Discussion

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