Questions tagged [azure-cosmosdb-changefeed]
62 questions
1
vote
0 answers
How to handle changes from different containers in Cosmos DB through Change Feed
I have some amount of containers in Cosmos DB that changes all the time. I need to provide some mechanism for reading all the changes from those containers.
I'm trying to implement builder/factory for Change Feed Processor (CFP). In my case, I have…

CognitiveComplexity
- 134
- 1
- 9
1
vote
2 answers
Cosmos Db Change Feed do not give the desired result
I am trying to get all the changes from my monitored Db in the Cosmos db Change Feed by following the below codes. I am trying for different duration like the changes happening today or the changes happened in last 7 days or changes happened…
user2248618
1
vote
1 answer
Cosmos change feed processor and concurrency within a single host
After going through Cosmos db documentation I am a bit confused about the change feed processor library.
Lease document exists for each physical partition or logical partition?
If I only have one host with multiple logical partition and a single…

Mark
- 833
- 1
- 9
- 27
1
vote
1 answer
Cosmos DB - Change Feed Trigger: The Listener for 'my-function-name' was unable to start
I am getting below error while running my azure function app application:
[7/15/2020 8:26:08 AM] The listener for function
'NotificationChangeFeed' was unable to start. [7/15/2020 8:26:08 AM]
The listener for function 'NotificationChangeFeed' was…

Rakesh Kumar
- 2,701
- 9
- 38
- 66
1
vote
1 answer
Is it possible to monitor Change Feed work perfectly in Azure Function from CosmosDB
I have an Azure function which will trigger Change Feed from CosmosDB then doing ETL its document to MS SQL. But when the server (either CosmosDB or Azure Function host) is somehow stressful, the feed would be late for few seconds to minutes even…

Tấn Nguyên
- 1,607
- 4
- 15
- 25
1
vote
0 answers
How to use changefeed inside a botapp to refresh the cache on change in cosmos db container?
I have a botapp hosted in Azure, using cosmos db table1 (Example name) needs to cached in bot app. Since cosmos db is accessible from another app as well, which is a web app and users can update the data in table1 through this webapp.
So the…

sumit sharma
- 127
- 1
- 11
1
vote
1 answer
How to perform large batch operation in cosmos DB
We are building an analytic engine for our clients. We have choose Cosmos DB. The reason for this is to store unstructured data. For the moment for one client we have around 300000 records.
Sample analytic item
{
"adjustments": [],
…

Niroj
- 52
- 5
1
vote
1 answer
What should be the minimum TTL value for Azure Cosmos db, so that it goes to change feed
If I set TTL of a document in azure cosmos db to be 1 sec, then it never reaches changefeed
What is the reason for that?
Most probably, before the change diff can be computed the data is deleted.
If that's the reason, what should be the minimum…

biswpo
- 771
- 7
- 23
1
vote
1 answer
Detect throttling (HTTP 429) in .NET ChangeFeed client library
When listening for change feed changes in a .NET application, during spikes of high usage on a collection, it is possible that the requests to CosmosDB get throttled (HTTP response 429).
There are 3 flavours of the CosmosDB change feed client for…

Cristian Diaconescu
- 34,633
- 32
- 143
- 233
0
votes
1 answer
Use of LeaseVersion configuration in ChangeFeedProcessorBuilder
In Cosmos changefeed, we can pass "LeaseVersion" configuration in "ChangeFeedProcessorBuilder" class.
Default value is PARTITION_KEY_BASED_LEASE.
What is use of LeaseVersion EPK_RANGE_BASED_LEASE ?
version : azure-cosmos-4.47.0

ranjeet
- 540
- 7
- 16
0
votes
2 answers
Azure Functions - Cosmos DB Trigger Listener Unable to Start
I'm experiencing an issue with an Azure Function App named 'fa-store-ticket' that contains a function called 'CosmosTrigger1'. The runtime stack is Node ~18, running on Windows, and the operating mode is set to Consumption.
Here's the function.json…

Daniel Vera
- 77
- 1
- 10
0
votes
1 answer
Azure function Not getting triggered or invocated.Getting 401 unauthorized on testing locally
I am building an Azure Function using Python SDK with Cosmos DB Trigger to monitor the Change feed and write data to Blob storage. Additionally, I have a Stats.json blob that contains a key Stats with a value of 1 or 0, which I am updating as part…

Data writer
- 15
- 5
0
votes
1 answer
CosmosDB Change Feed is not capturing all changes
I currently have a program that a user enters yes or no for certain questions and for each yes the user has to upload a file. If any of the data changes the users are to go back and update the fields, along with the files corresponding with the…

Ganzatron
- 11
- 6
0
votes
1 answer
CosmosDB trigger invoked without changes
My Isolated Azure functions cosmosDB trigger is invoked saying there are new changes on the container. But no new changes are received and the execution fails. This is creating false alerts as the request fails. Below are the two messages in the…

DxG
- 147
- 4
- 17
0
votes
1 answer
How to parallel process different partition ranges with Cosmos change feed (push)?
Looking at below document it explains that within a deployment unit, different instances can process different partition range values.
"change feed processor is assigning different ranges to each instance"
Source:…

Frank Q.
- 6,001
- 11
- 47
- 62