private void stopConnectors(Collection<String> ids) {
        // Herder is responsible for stopping connectors. This is an internal method to sequentially
        // stop connectors that have not explicitly been stopped.
        for (String connector: ids)
            stopConnector(connector);
    }
Stop a connector managed by this worker.

@param connName the connector name.
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/Worker.java