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



##########
File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/externalresource/ExternalResourceUtils.java
##########
@@ -116,10 +117,25 @@ private ExternalResourceUtils() {
         return externalResourceConfigs;
     }
 
+    /**
+     * Instantiate {@link StaticExternalResourceInfoProvider} for all of 
enabled external resources.
+     */
+    public static ExternalResourceInfoProvider 
createStaticExternalResourceInfoProviderFromConfig(
+            Configuration configuration, PluginManager pluginManager) {
+
+        final Map<String, Long> externalResourceAmountMap =
+                getExternalResourceAmountMap(configuration);
+        LOG.info("Enabled external resources: {}", 
externalResourceAmountMap.keySet());

Review comment:
       yes, I'll open one.




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