public ByteBuffer build(long createtime) {
        checkMode(true);
        if (version.intValue() != Version.v4.intValue()) {
            return defaultBuild(createtime);
        } else {
            return binBuild(createtime);
        }
    }
add msg
@param attr
@param data
@return
inlong-common/src/main/java/org/apache/inlong/common/msg/InLongMsg.java