?????????????????????????????????????????? env.enableCheckpointing(CommonConstants.CHECK_POINTING); env.setStreamTimeCharacteristic(TimeCharacteristic.ProcessingTime); env.setParallelism(CommonConstants.PARALLELISM_NUMBER); //???????????????? env.setRestartStrategy(RestartStrategies.noRestart()); //???????????????????????????????????????????????? ???? 10 ???? env.getCheckpointConfig().setCheckpointTimeout(CommonConstants.CHECK_POINT_TIME_OUT); //??????????true?????????????????????????? env.getCheckpointConfig().setFailOnCheckpointingErrors(CommonConstants.FAIL_ON_CHECK_POINT); env.getCheckpointConfig().setMaxConcurrentCheckpoints(CommonConstants.MAX_CHECK_POINTS); env.getCheckpointConfig().setCheckpointingMode(CheckpointingMode.EXACTLY_ONCE);
------------------ ???????? ------------------ ??????: "sysuke Lee"<[email protected]>; ????????: 2020??1??17??(??????) ????12:10 ??????: "user-zh"<[email protected]>; ????: Re: ??????????checkpoint ????????????checkpoint?????????????????????????? sun <[email protected]> ??2020??1??17?????? ????10:42?????? > ??????????????????????????????????????checkpoint????????????????checkpoint??????????????????????????
