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 Answer
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
2 Comments
ndycuong
actually i wanna know how exactly which things stored in checkpointing , not just about how to operate
David Anderson
I've expanded my answer.