Hi there!
The flink restart strategy
Flink supports different restart strategies that control how to restart after a job fails. The cluster can be restarted by the default restart policy. This default restart policy is usually used when no restart policy is specified. If the restart policy is specified when the job is submitted, the restart policy will override the default restart policy of the cluster.
Overview
The default restart policy is specified by Flink's flink-conf.yaml. This configuration parameter restart-strategy defines which policy will be used. If the checkpoint is not started, the no restart policy will be adopted.
If the checkpoint mechanism is started but the restart policy is not specified, the fixed-delay policy will be used and the Integer.MAX_VALUE will be retried. Please refer to the available restart strategy below to see which values are supported.
Each restart strategy has its own parameters to control its behavior. These values can also be set in the configuration file. Each restart policy description contains its own configuration value information.