开发者社区> 问答> 正文

How to test flink job recover from checkpoint

I have a flink application and checkpoint is enabled, I am running locally using miniCluster.

I just wonder if there is a way to simulate the failure, and verify that flink job restarts from checkpoint?*来自志愿者整理的flink邮件归档

展开
收起
CCCC 2021-12-02 15:08:43 648 0
1 条回答
写回答
取消 提交回答
  • You can change your application tasks to throw exceptions in a certain  frequency.  Alternatively, if the application has external dependencies (e.g. source),  you can trigger failures manually by manipulating the status of the  external service (e.g. shutdown the source service, or break the network  connection between the Flink app and the source service).*来自志愿者整理的FLINK邮件归档

    2021-12-02 15:48:01
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Flink CDC Meetup PPT - 龚中强 立即下载
Flink CDC Meetup PPT - 王赫 立即下载
Flink CDC Meetup PPT - 覃立辉 立即下载