Keep Downstream Views in Sync with Cosmos DB Change Feed
Use the Azure Cosmos DB SQL API change feed to stream inserts, updates, and deletes to caches and read models without polling the whole container.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Use the Azure Cosmos DB SQL API change feed to stream inserts, updates, and deletes to caches and read models without polling the whole container.
Continuation tokens let you page through Cosmos DB results without re-scanning skipped documents. This post shows the .NET iteration pattern, explains why OFFSET/LIMIT still charges for skipped rows, and covers token size limits, throttling retries, and verification steps.
An Azure Cosmos DB SQL (Core) API container previously had time-to-live enabled at the container level. Several items already contain expiration timestamp values, and some timestamps have passed while TTL was active. After disabling container-level TTL, it is unclear whether the asynchronous background cleanup continues to remove items whose expiration times