@Override
    public int hashCode() {
        int result = type.hashCode();
        result = 31 * result + name.hashCode();
        return result;
    }
Returns true if this is the default resource of a resource type.
Resource name is empty for the default resource.
clients/src/main/java/org/apache/kafka/common/config/ConfigResource.java