public boolean forceRestartConnectorOnly() {
        return !onlyFailed() && !includeTasks();
    }
Determine whether only the {@link Connector} instance is to be restarted even if not failed.

@return true if only the {@link Connector} instance is to be restarted even if not failed, or false otherwise
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/RestartRequest.java