hwanju commented on a change in pull request #14499: URL: https://github.com/apache/flink/pull/14499#discussion_r557728452
########## File path: flink-core/src/main/java/org/apache/flink/configuration/ClusterOptions.java ########## @@ -115,4 +127,35 @@ public static boolean isDeclarativeResourceManagementEnabled(Configuration confi return configuration.get(ENABLE_DECLARATIVE_RESOURCE_MANAGEMENT) && !System.getProperties().containsKey("flink.tests.disable-declarative"); } + + /** The mode of how to handle user code attempting to exit JVM. */ + public enum UserSystemExitMode { + DISABLED("No check is enabled, that is allowing exit without any action"), Review comment: Last write win! Followed `Flink is not monitoring or intercepting calls to System.exit()`. @XComp, please let me know if you want rewording. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org