Interview practice question
Streaming job restarted from scratch
Data Engineering · Databricks · Intermediate
After someone changed the checkpoint path of a streaming job, it reprocessed all data from the beginning, creating duplicates. How do you recover and prevent it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- A new checkpoint has no offsets, so the stream starts over.
- Clean duplicates using keys or by restoring the target to a previous version.
- Point back to the original checkpoint if it's intact.
- Make sinks idempotent with MERGE on keys.
- Treat checkpoint paths as protected configuration.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.