public static PluginDiscoveryMode pluginDiscovery(Map<String, String> props) {
        String value = props.getOrDefault(WorkerConfig.PLUGIN_DISCOVERY_CONFIG, PluginDiscoveryMode.HYBRID_WARN.toString());
        try {
            return PluginDiscoveryMode.valueOf(value.toUpperCase(Locale.ROOT));
        } catch (IllegalArgumentException e) {
            throw new ConnectException("Invalid " + PLUGIN_DISCOVERY_CONFIG + " value, must be one of "
                    + Arrays.toString(Utils.enumOptions(PluginDiscoveryMode.class)));
        }
    }
Get the {@link CommonClientConfigs#GROUP_ID_CONFIG group ID} used by this worker to form a cluster.
The default implementation returns {@code null} and should be overridden by subclasses
if the worker mode for the subclass is capable of forming a cluster using Kafka's group coordination API.
@return the group ID for the worker's cluster, or {@code null} if the worker is not capable of forming a cluster.
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/WorkerConfig.java