Questions tagged [cosmosdbtrigger]
23 questions
0
votes
0 answers
How to deserialize cosmos document for desired POCO class?
I have a web job with CosmosDBTrigger. I want to deserialize this Document per my POCO class, but I am getting 'S' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0. error.
Approaches:
I tried var mappedObject =…

GThree
- 2,708
- 7
- 34
- 67
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
Azure functions cosmosDB trigger lease reservation over partition
I would like to understand how partition distribution is handled behind the Azure functions cosmosDb trigger. I have two Azure functions with same lease prefix listening to the change feed. Let's say the container has N partitions, how exactly the…

DxG
- 147
- 4
- 17
0
votes
1 answer
Cosmos DB Trigger Azure Function misses some change feed
We've implemented a service with multiple Azure Functions in it. An HttpTrigger function will insert records into Cosmos DB. Then the Cosmos DB Trigger function will process the records when it's fired. Some times the jobs for the DB trigger…

Baolin Li
- 103
- 1
- 7
0
votes
1 answer
how to capture changes with Azure function Cosmos DB trigger?
I have the following requirement i want to capture record from cosmosDB and push it to blog storage.
This above problem i have solved with azure function cosmos DB trigger (that will capture any changes made to record in cosmos DB container).
How to…

Mohit Singh
- 401
- 1
- 10
- 30
0
votes
1 answer
azure function java CosmosDBTrigger-input and @SignalROutput-output, Error :Cannot create Collection Information
I have replaced secured data with placeholders
Error while running locally as well as after deploying -
Microsoft.Azure.WebJobs.Host: Error indexing method 'Functions.'. Microsoft.Azure.WebJobs.Extensions.CosmosDB: Cannot create…

DEEP GAHLOT
- 13
- 3
0
votes
1 answer
Azure Function HttpTrigger with Cosmos DB input
I am trying to create an Azure Function HttpTrigger with cosmos DB input binding.
But it is giving me a type error.
Here is what I am trying:
public static async Task Run(IReadOnlyList inputDocs, HttpRequest req,…

Suyash Gupta
- 546
- 10
- 31
0
votes
1 answer
Azure Function Parameter from Settings
Referring to the following example:
public static void Run([CosmosDBTrigger(
databaseName: "ToDoItems",
collectionName: "Items",
ConnectionStringSetting = "CosmosDBConnection",
LeaseCollectionName =…

Shamim Hafiz - MSFT
- 21,454
- 43
- 116
- 176