docs: private void batchSync(List<Dml> dmls, OuterAdapter adapter) {
          // 分批同步
          if (dmls.size() <= canalClientConfig.getSyncBatchSize()) {
              adapter.sync(dmls);
          } else {
              int len = 0;
              List<Dml> dmlsBatch = new ArrayList<>();
              for (Dml dml : dmls) {
                  dmlsBatch.add(dml);
                  if (dml.getData() == null || dml.getData().isEmpty()) {
                      len += 1;
                  } else {
                      len += dml.getData().size();
                  }
                  if (len >= canalClientConfig.getSyncBatchSize()) {
                      adapter.sync(dmlsBatch);
                      dmlsBatch.clear();
                      len = 0;
                  }
              }
              if (!dmlsBatch.isEmpty()) {
                  adapter.sync(dmlsBatch);
              }
          }
      }