docs: private long calculateSize(DbBatch data) {
          long size = 0;
          for (EventData eventData : data.getRowBatch().getDatas()) {
              size += eventData.getSize();
          }
  
          return size;
  
          // 走序列化的方式快速计算一下大小
          // SerializeWriter out = new SerializeWriter();
          // try {
          // JSONSerializer serializer = new JSONSerializer(out);
          // serializer.config(SerializerFeature.SortField, false);// 关掉排序
          // serializer.write(data);
          // byte[] bytes = out.toBytes("UTF-8");
          // return bytes.length;
          // } finally {
          // out.close();
          // }
      }