ctrlaltdilj commented on code in PR #1020: URL: https://github.com/apache/flink-kubernetes-operator/pull/1020#discussion_r2298807961
########## flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/utils/PluginDiscoveryUtils.java: ########## @@ -0,0 +1,39 @@ +package org.apache.flink.kubernetes.operator.utils; + +import org.apache.flink.configuration.ConfigConstants; +import org.apache.flink.core.plugin.PluginUtils; +import org.apache.flink.kubernetes.operator.config.FlinkConfigManager; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import java.util.HashSet; +import java.util.Set; + +public class PluginDiscoveryUtils { + + private static final Logger LOG = LoggerFactory.getLogger(PluginDiscoveryUtils.class); + + public static <T> Set<T> discoverResources( + FlinkConfigManager configManager, Class<T> resourceClass) { Review Comment: I think keeping this generic, will be beneficial for future changes -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org