-2

I have a case to handle restart flink job. I need use checkpointing and use metadata (state of kafkasource input) of it to process. Currently, checkpointing auto use metadata to recovery, but i wanna read info from this file and process something. Documents just intro some method but not your goal: dispose(),getCheckpointId(),getCheckpointProperties(),getMasterStates(),getOperatorStates().toString(),withProperties​(CheckpointProperties properties)`

1
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. Commented Jan 22 at 4:00

1 Answer 1

0

The State Processor API will let you process the data in a checkpoint or savepoint.

Checkpoints and savepoints include everything needed to ensure effectively exactly-once semantics:

  • non-keyed state (e.g., kafka offsets, transaction IDs)
  • broadcast state
  • keyed state
  • timers
Sign up to request clarification or add additional context in comments.

2 Comments

actually i wanna know how exactly which things stored in checkpointing , not just about how to operate
I've expanded my answer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.