@Override
    public String toString() {
        return "ResourcePattern(resourceType=" + resourceType + ", name=" + ((name == null) ? "<any>" : name) + ", patternType=" + patternType + ")";
    }
@return a string describing any ANY or UNKNOWN field, or null if there is no such field.
clients/src/main/java/org/apache/kafka/common/resource/ResourcePatternFilter.java