public Builder<T> batchSize(int batchSize) {
            checkArgument(batchSize >= 0);
            this.batchSize = batchSize;
            return this;
        }
batch.size

<p>The cursor batch size. Default: 1024

<p>The change stream cursor batch size. Specifies the maximum number of change events to
return in each batch of the response from the MongoDB cluster. The default is 0 meaning
it uses the server's default value. Default: 0
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/mongodb-cdc/src/main/java/org/apache/inlong/sort/cdc/mongodb/MongoDBSource.java