Hi, I had a question regarding CheckpointListener.
Is it possible to register some function for onCheckpointComplete
I'm looking if there's something like:
Copy code
env.addCheckpointListener(checkPtComplete())
Or any alternate way I can listen to checkpoints and do some logic ?
m
Martijn Visser
06/17/2023, 3:33 PM
In principle, checkpointing is an internal mechanism. What’s your use case?
b
Bharathkrishna G M
06/17/2023, 3:49 PM
I want to perform some operation like saving state in a database after checkpointing. Specifically, I'm using some custom path filter for readFiles() method, and I want to persist some state related to it on checkpoint. I do see that there is checkpoint listener interface in flink that can be implemented, but not sure how I can add it to the execution environment