zentol commented on a change in pull request #13454:
URL: https://github.com/apache/flink/pull/13454#discussion_r494071233



##########
File path: 
flink-core/src/main/java/org/apache/flink/configuration/ClusterOptions.java
##########
@@ -92,4 +92,15 @@
                                        "to a JVM deadlock. See %s for 
details.",
                                
link("https://issues.apache.org/jira/browse/FLINK-16510";, "FLINK-16510"))
                                .build());
+
+       @Documentation.ExcludeFromDocumentation
+       public static final ConfigOption<Boolean> 
ENABLE_DECLARATIVE_RESOURCE_MANAGEMENT = ConfigOptions
+               .key("cluster.declarative-resource-management.enabled")
+               .booleanType()
+               .defaultValue(false)
+               .withDescription("Defines whether the cluster uses declarative 
resource management.");
+
+       public static boolean 
isDeclarativeResourceManagementEnabled(Configuration configuration) {
+               return 
configuration.get(ENABLE_DECLARATIVE_RESOURCE_MANAGEMENT) || 
System.getProperties().containsKey("flink.tests.enable-declarative");

Review comment:
       It's not for e2e testing, but allowing it to be set in the IDE.




----------------------------------------------------------------
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:
[email protected]


Reply via email to