Hello @Ihor Dyrman , apologies for the delay. I am afraid the requirement cannot be satisfied using a single Cosmos DB triggered function app as this trigger uses the Azure Cosmos DB Change Feed in the backend to listen for inserts and updates across partitions but in the same container. You might have to consider a separate Cosmos DB trigger for each individual containers. Please let me know if there are any concerns, I will be glad to continue with our discussion. Thank you!
One function with many containers in Cosmos DB
Ihor Dyrman
181
Reputation points
I have Cosmos DB with many containers inside. I want to push changes from Change Feed to my service bus. I see that I can make a function for listening to one container, but is it possible to make a function that will be triggered for changes in all containers in my Cosmos DB?
Accepted answer
-
ChaitanyaNaykodi-MSFT 26,216 Reputation points Microsoft Employee
2021-01-27T05:10:32.097+00:00