@Override
    public String toString() {
        return "ResourcePattern(resourceType=" + resourceType + ", name=" + name + ", patternType=" + patternType + ")";
    }
@return a filter which matches only this pattern.
clients/src/main/java/org/apache/kafka/common/resource/ResourcePattern.java