Duczer East
Healthcare

In-perimeter AI on governed clinical and operational data.

Financial Services

Private AI and data platforms built to clear model-risk and audit review.

Financial services

Private AI, KYC/AML, API gateways and data governance for banks.

Insurance

Change data capture, governed agents and integration for insurers.

Healthcare

PHI document intelligence, FHIR APIs and in-perimeter AI for health systems and plans.

All use cases
  1. Home
  2. Use cases
  3. Cloudera streaming
  4. Cloudera Streaming Analytics: Upgrading Flink Jobs Safely
Cloudera streamingFinancial services

Cloudera Streaming Analytics: Upgrading Flink Jobs Safely

A savepoint and rollback runbook for moving stateful Flink jobs to a new release.

The challenge

What teams are up against

Typical situation, not a client: an insurer runs stateful Flink jobs that feed claims decisions. The platform is moving to a newer release and the team is unsure how to upgrade the jobs without losing state or dropping events.

Our approach

How we deliver it, step by step

  1. 01

    Inventory the jobs

    List each job, its state size, its source and sink topics and the people who depend on its output.

  2. 02

    Take a savepoint

    Take a savepoint of each running job before any change. A savepoint is a saved copy of job state that a job can restart from.

  3. 03

    Test the restore on a copy

    Start the job from the savepoint on a test cluster at the target release and compare its output with production.

  4. 04

    Cut over in order

    Upgrade the least critical jobs first. Stop each job with a savepoint, upgrade, restore and check lag before the next.

  5. 05

    Keep the way back

    Keep the old release and each savepoint until the job has run cleanly for an agreed period. Write the rollback steps down.

Architecture

The components involved

From the top of the stack down

Job inventoryPlan
Savepoints outside the jobState
Flink jobs on the target releaseRun
Rollback stepsSafety

Jobs run on Cloudera Streaming Analytics on CDP Private Cloud Base and read Kafka topics in Streams Messaging. Savepoints are stored on storage outside the job so they survive a failed upgrade. The runbook is the design record: job inventory, savepoint location, test result and rollback owner.

Apache Flinksavepointrollback

Outcomes

What changes when it is in place

No job is upgraded without a saved state it can return to.

The order of cutover is written and tested.

Rollback steps have an owner.

Downstream teams know when each job pauses.

Why Duczer East

Senior practitioners, from scope to delivery

We treat the upgrade as a rehearsed change, with state saved first and the way back documented.

About Duczer East

FAQ

Questions we are asked about this

What is a Flink savepoint?

A savepoint is a saved copy of a job's state taken on request. A job can be restarted from it after an upgrade or a change to the job code.

Can we upgrade Flink jobs without downtime?

Not always. A stateful job is usually stopped with a savepoint and restarted, so plan a short pause and tell downstream teams.

Let's Talk

Talk through this use case

Tell us about your systems and where you are today. A senior practitioner replies, and only your email is required.

Get a quote