Key Default Type Description
execution.attached
false Boolean Specifies if the pipeline is submitted in attached or detached mode.
execution.job-listeners
(none) List<String> Custom JobListeners to be registered with the execution environment. The registered listeners cannot have constructors with arguments.
execution.job-status-changed-listeners
(none) List<String> When job is created or its status is changed, Flink will generate job event and notify job status changed listener.
execution.program-config.enabled
true Boolean Determines whether configurations in the user program are allowed. By default, configuration can be set both on a cluster-level (via options) or within the user program (i.e. programmatic via environment setters). If disabled, all configuration must be defined on a cluster-level and programmatic setters in the user program are prohibited.

Depending on your deployment mode failing the job might have different implications. Either your client that is trying to submit the job to an external cluster (session cluster deployment) throws the exception or the job manager (application mode deployment).

The 'execution.program-config.wildcards' option lists configuration keys that are allowed to be set in user programs regardless of this setting.
execution.program-config.wildcards
List<String> List of configuration keys that are allowed to be set in a user program regardless whether program configuration is enabled or not.

Currently changes that are not backed by the Configuration class are always allowed.
execution.shutdown-on-application-finish
true Boolean Whether a Flink Application cluster should shut down automatically after its application finishes (either successfully or as result of a failure). Has no effect for other deployment modes.
execution.shutdown-on-attached-exit
false Boolean If the job is submitted in attached mode, perform a best-effort cluster shutdown when the CLI is terminated abruptly, e.g., in response to a user interrupt, such as typing Ctrl + C.
execution.submit-failed-job-on-application-error
false Boolean If a failed job should be submitted (in the application mode) when there is an error in the application driver before an actual job submission. This is intended for providing a clean way of reporting failures back to the user and is especially useful in combination with 'execution.shutdown-on-application-finish'. This option only works when the single job submission is enforced ('high-availability.type' is enabled). Please note that this is an experimental option and may be changed in the future.
execution.target
(none) String The deployment target for the execution. This can take one of the following values when calling bin/flink run:
  • remote
  • local
  • yarn-application
  • yarn-per-job (deprecated)
  • yarn-session
  • kubernetes-application
  • kubernetes-session