cluster.intercept-user-system-exit |
DISABLED |
Enum Possible values: [DISABLED, LOG, THROW] |
Flag to check user code exiting system by terminating JVM (e.g., System.exit())- DISABLED - Flink is not monitoring or intercepting calls to System.exit()
- LOG - Log exit attempt with stack trace but still allowing exit to be performed
- THROW - Throw exception when exit is attempted disallowing JVM termination
Note that this configuration option can interfere with cluster.processes.halt-on-fatal-error : In intercepted user-code, a call to System.exit() will not cause the JVM to halt, when THROW is configured. |