@Override
    public String toString() {
        return "StandardAcl(" +
            "resourceType=" + resourceType +
            ", resourceName=" + resourceName +
            ", patternType=" + patternType +
            ", principal=" + principal +
            ", host=" + host +
            ", operation=" + operation +
            ", permissionType=" + permissionType +
            ")";
    }
Compare two StandardAcl objects. See {@link StandardAuthorizerData#authorize} for an
explanation of why we want this particular sort order.
metadata/src/main/java/org/apache/kafka/metadata/authorizer/StandardAcl.java