Reputation: 2008
Can two (or more) EventGrid Subscriptions (from the same EventGrid System Topic or different topics) be triggered by a single CreateBlob
event?
Example:
CreateBlob
event that the System Topic watching/container_name
, will both EventGrid Subscriptions create an EventGrid Queue message to their respective Queue endpoints?Or is it first-come-first-serve, meaning will only one Event Subscription generate a queue message?
(PS: Looks like imgur is failing at hosting images. I tried 2x)
Upvotes: 0
Views: 95
Reputation: 11411
Can two EventGrid Subscriptions be triggered by a single
BlobCreated
action?
Yes, it will triggered in both subscriptions and it will also send messages to queue and below are my observations:
Firstly, uploaded a blob:
Then I have configured both subscriptions in a single topic and then checked the messages: Configured different queues for different subscriptions to test:
First queue:
Second queue:
So by above observation, you can clearly see that it got triggered two times for different subscriptions
Upvotes: 1