SpinTheMic
Pro

Interview practice question

Deploying changes to a stateful streaming job

Data Engineering · DataOps CI/CD · Experienced

How do you deploy a code change to a stateful streaming job without losing state or data?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Check state compatibility of the change.
  • Use savepoints (Flink) or keep checkpoints (Spark) compatible.
  • Blue-green: run new version in parallel writing to a new sink, then switch.
  • Validate outputs before cutover.
  • Rollback by restoring from savepoint.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics