The maximum number of batches to load. If unspecified, will support loading an infinite number of batches until a batch loads fewer than batchSize documents.
final int? maxBatches;