Questions tagged [azure-cosmosdb-changefeed]
62 questions
0
votes
1 answer
Azure Function for Cosmos DB change feed feed won't run: No job functions found
I'm writing an Azure Function app that'll subscribe to a Cosmos DB change feed. When I use Visual Studio 2019 to run the app locally (F5), I get the following error on the CLI:
Azure Function Core Tools reports "No job functions found."
The entire…

Chia-Hsuan Tsai
- 25
- 1
- 5
0
votes
1 answer
Spring Boot - Azure Cosmos DB Change Feed process failing if primary key is regenerated
How to update the cosmos master key in change feed process while it is in running state.
I am using Change feed process in Spring Boot application and it is working fine. But it is failing if Primary key is regenerated, the process is running as…

dev4java
- 86
- 1
- 8
0
votes
1 answer
How to tell the difference between Insert and Update in Cosmos DB change feed
I did get the code sample for the Cosmos DB change feed from this resource
I was able to successfully compile and run the code.
Here is the code for the change feed call
private static async Task…

James
- 1,081
- 4
- 15
- 34
0
votes
1 answer
How to use the pull model in Azure Cosmos DB with Java?
In the documentation of the pull model you can read that the pull model is only available for .NET. It there a possible to emulate the FeedIterator in Java? Is there any beta that support this already?

Horcrux7
- 23,758
- 21
- 98
- 156
0
votes
1 answer
Sample for publish/subscribe with Azure Cosmos DB in Java
I need a pub/sub event message system with Azure Cosmos DB. I use Azure Cosmos DB Java SDK v4.
I try with a ChangeFeedProcessor based on this sample…

Horcrux7
- 23,758
- 21
- 98
- 156
0
votes
1 answer
CosmosDB Change the Change Feed Processor Name
I have a change feed processor:
var changeFeedProcessor = monitoredContainer
.GetChangeFeedProcessorBuilder("original-processor-name", HandleChangesAsync)
.WithInstanceName(Environment.MachineName)
…

Adam
- 1,984
- 2
- 16
- 19
0
votes
1 answer
Using CosmosDB change feeds to detect deletions in non-timestamped data
I have a data source with roughly 30,000 records. When I poll the data source I receive all the records in one go. There's no timestamp indicating when the data source was last updated.
I'd like to use Azure to transform the data into a series of…

Paul
- 1,897
- 1
- 14
- 28
0
votes
1 answer
ChangeFeedProcessorBuilder checkpointing after unsuccessful processing
I was investigating the behavior of a ChangeFeedProcessorBuilder processor1 that throws an exception or goes down while processing the particular change. Upon recovery, the same change will not be picked up anymore. Is there any way to checkpoint…

SummerCode
- 1,403
- 1
- 14
- 28
0
votes
1 answer
Azure Functions: How does Change Feed behave when multiple active workers exist?
I'm using Change Feed with Azure Functions. I have a CosmosDBTrigger assigned to each individual container with a unique LeaseCollectionPrefix. This seems to be working fine, but I'm not quite clear on what happens when the consumption-based…

user246392
- 2,661
- 11
- 54
- 96
0
votes
1 answer
Cosmos DB: Are changes ever deleted from Change Feed?
For compliance reasons, I need to capture all database changes. I know that Change Feed stores this information (and I'm waiting for full fidelity to capture deletes). Currently, I've been reading from Change Feed via a Function trigger and copying…

user246392
- 2,661
- 11
- 54
- 96
0
votes
1 answer
Not able to run Cosmos DB Change Feed Trigger Azure Function locally
I am not able to run Cosmos DB Change Feed Trigger function locally.
Cosmos DB Change Feed Trigger Azure Function:
public static class NotificationChangeFeed
{
[FunctionName("NotificationChangeFeed")]
public static async Task…

Rakesh Kumar
- 2,701
- 9
- 38
- 66
0
votes
2 answers
Cosmos DB Change Feeds in a Kubernetes Cluster with arbitrary number of pods
I have a collection in my Cosmos database that I would like to observe for changes. I have many documents (official and unofficial) explaining how to do this. There is one thing though that I cannot get to work in a reliable way: how do I receive…

Jörgen Sigvardsson
- 4,839
- 3
- 28
- 51
0
votes
1 answer
With an Azure Function, can a single CosmosDB change feed be processed concurrently?
With a CosmosDb-trigger function-binding to process a change feed, do I need to handle the possibility that multiple functions can be running concurrently, processing different parts of the change feed?
If not, am I right to consider that this means…

Lee
- 1,591
- 1
- 14
- 28
0
votes
0 answers
Cosmos Change Feed Issues. Subscriber stops receiving updates when the service that hosts the lease rebuilds
We are having a strange issue with the change feed subscriber isnt picking up new records after the cosmos db is redeployed in a different service. My assumption was when the feed is down it would then pick up from where it left off once the…

Chris Marshall
- 740
- 1
- 9
- 25
0
votes
1 answer
CosmosDB change feed processor versioning and lease separation/handling
I'm trying to implement a change feed processor on a database called Entity, where all files are imported as "entitytype-entityid."
How would I use the lease to differentiate between each type of file? It is monitoring one collection.
Entity
/id …

aplane1290
- 85
- 6