kpatelatwork commented on a change in pull request #10549: URL: https://github.com/apache/kafka/pull/10549#discussion_r616208904
########## File path: connect/runtime/src/main/java/org/apache/kafka/connect/runtime/isolation/DelegatingClassLoader.java ########## @@ -196,8 +214,10 @@ private static PluginClassLoader newPluginClassLoader( pluginLoaders.put(pluginClassName, inner); // TODO: once versioning is enabled this line should be moved outside this if branch log.info("Added plugin '{}'", pluginClassName); + allAddedPlugins.put(pluginClassName, new ArrayList<>()); } inner.put(plugin, loader); + allAddedPlugins.get(pluginClassName).add(plugin); Review comment: reused the same pattern for pluginLoader also. -- 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