private void parse() throws IOException {
        if (parsed) {
            return;
        }

        if (version.intValue() < Version.v3.intValue()) {
            parseDefault();
        } else if (version.intValue() == Version.v3.intValue()) {
            parseMixAttr();
        } else {
            parseBinMsg();
        }

        parsed = true;
    }
add msg
@param attr
@param data
@return
inlong-common/src/main/java/org/apache/inlong/common/msg/InLongMsg.java