azure-cosmosdb-spark
azure-cosmosdb-spark copied to clipboard
Using changefeedmaxpagesperbatch = 1 on streaming
When reading the change feed on a streaming scenario with changefeedmaxpagesperbatch
set to 1 and with Start from Beginning, some of the records are missing from the stream batches.
Increasing the the batch size to 5 or other number greater than 1, fixes the issue.