public boolean createOrFindTopic(NewTopic topic) {
        if (topic == null) return false;
        return createOrFindTopics(topic).isCreatedOrExisting(topic.name());
    }
Attempt to find or create the topic described by the given definition, returning true if the topic was created or had
already existed, or false if the topic did not exist and could not be created.

@param topic the specification of the topic
@return true if the topic was created or existed, or false if the topic could not already existed.
@throws ConnectException            if an error occurs, the operation takes too long, or the thread is interrupted while
                                    attempting to perform this operation
@throws UnsupportedVersionException if the broker does not support the necessary APIs to perform this request
connect/runtime/src/main/java/org/apache/kafka/connect/util/TopicAdmin.java