pnowojski commented on code in PR #21056:
URL: https://github.com/apache/flink/pull/21056#discussion_r1012925751


##########
flink-core/src/main/java/org/apache/flink/api/common/ExecutionConfig.java:
##########
@@ -1174,6 +1161,16 @@ public void configure(ReadableConfig configuration, 
ClassLoader classLoader) {
                                                 == 
JobManagerOptions.SchedulerType.AdaptiveBatch));
     }
 
+    @Internal
+    public <T> T get(ConfigOption<T> option) {
+        return configuration.get(option);
+    }
+
+    @Internal
+    public <T> Optional<T> getOptional(ConfigOption<T> option) {
+        return configuration.getOptional(option);
+    }

Review Comment:
   Yeah, but the only alternative is to replace them with `boolean 
ExecutionConfig#isPresent(ConfigOption<T>)`.  Take a look how I need to use 
those methods in `Task.java` :(



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to