Does Azure function support Azure Cosmos DB conflict feed based trigger like how Azure function supports below Cosmos change feed trigger? If not why?
public async Task RunAsync([CosmosDBTrigger(
databaseName: "cars-island-eshop",
collectionName: "Customer",
ConnectionStringSetting = "CosmosDbConnectionString",
CreateLeaseCollectionIfNotExists = true,
LeaseCollectionName = "Lease",
LeaseCollectionPrefix = "UpdateCustomerDataInOrder")]IReadOnlyList<Document> input, ILogger
log)
{
..............
}
No there is no trigger mechanism for the conflict feed in Cosmos DB. You need to manually query it on a timer.