public boolean matches(String topic) {
        return !exclusionPattern.matcher(topic).matches() && inclusionPattern.matcher(topic)
                .matches();
    }
Answer whether this topic creation group is configured to allow the creation of the given
{@code topic} name.

@param topic the topic name to check against the groups configuration

@return true if the topic name matches the inclusion regex and does
not match the exclusion regex of this group's configuration; false otherwise
connect/runtime/src/main/java/org/apache/kafka/connect/util/TopicCreationGroup.java