Problem while using resumeToken for Azure CosmosDB

Leela Sankar Pinjala 0 Reputation points
2023-04-22T20:30:26.2666667+00:00

Hi, I am using CosmosDB (Mongo API) change streams to update cache. I am persisting resumeToken, and using it when my app restart. I noticed that whenever app restarted and open stream with resumeToken, we are getting high number of old messages which are already processed. Some time days old messages.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,469 questions
{count} votes