@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }

        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        InLongMsgHead that = (InLongMsgHead) o;
        return Objects.equals(attributes, that.attributes)
                && Objects.equals(streamId, that.streamId)
                && Objects.equals(time, that.time)
                && Objects.equals(predefinedFields, that.predefinedFields);
    }
The predefined fields extracted from the head.
inlong-sort/sort-formats/format-common/src/main/java/org/apache/inlong/sort/formats/inlongmsg/InLongMsgHead.java