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,845 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.