public static InLongMsg parseFrom(ByteBuffer buffer) {
        Version magic = getMagic(buffer);
        if (magic == Version.vn) {
            return null;
        }

        try {
            return new InLongMsg(buffer, magic);
        } catch (IOException e) {
            return null;
        }
    }
add msg
@param attr
@param data
@return
inlong-common/src/main/java/org/apache/inlong/common/msg/InLongMsg.java