1 Answers

0
votes

To achieve that You need to cancel Your job with savepoint whether by using Flink command line interface or via the REST API. In both cases, You will receive the path for the savepoint(in case of REST API you will receive the request-id since cancel is an async operation, but You can use that to retrieve savepoint path).

After getting the savepoint path, You will be able to start a new job, again both via REST API or CLI, you will be able to provide the path to the savepoint when starting the job so that Flink will automatically restore the state from Savepoint, including all records that were in-flight.