KarmaGYZ commented on a change in pull request #11854:
URL: https://github.com/apache/flink/pull/11854#discussion_r414300630



##########
File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/externalresource/ExternalResourceUtils.java
##########
@@ -117,4 +138,17 @@
 
                return externalResourceDrivers;
        }
+
+       /**
+        * Get the external resource information from environment. Index by the 
resourceName.
+        */
+       public static Map<String, Set<? extends ExternalResourceInfo>> 
getExternalResourceInfo(Map<String, ExternalResourceDriver> 
externalResourceDrivers, Configuration configuration) {

Review comment:
       I think it would be better to not expose all components to this function.




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


Reply via email to