private static PluginScanResult discoverPlugins(PluginSource source, ReflectionScanner reflectionScanner, ServiceLoaderScanner serviceLoaderScanner) {
        PluginScanResult serviceLoadResult = serviceLoaderScanner.discoverPlugins(Collections.singleton(source));
        PluginScanResult reflectiveResult = reflectionScanner.discoverPlugins(Collections.singleton(source));
        return new PluginScanResult(Arrays.asList(serviceLoadResult, reflectiveResult));
    }
The unit of work for a command.
<p>This is unique to the (source, class, type) tuple, and contains additional pre-computed information
that pertains to this specific plugin.
tools/src/main/java/org/apache/kafka/tools/ConnectPluginPath.java