private boolean excluded(String prop) {
        return excludePattern != null && excludePattern.matcher(prop).matches();
    }
Filters excluded property names or regexes.
connect/mirror/src/main/java/org/apache/kafka/connect/mirror/DefaultConfigPropertyFilter.java