public TargetState targetState(String connector) {
        return connectorTargetStates.get(connector);
    }
Get the target state of the connector
@param connector name of the connector
@return the target state
connect/runtime/src/main/java/org/apache/kafka/connect/storage/ClusterConfigState.java