ericOnline
ericOnline

Reputation: 2008

Can two EventGrid Subscriptions be triggered by a single `BlobCreated` action?

Can two (or more) EventGrid Subscriptions (from the same EventGrid System Topic or different topics) be triggered by a single CreateBlob event?

enter image description here

Example:

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

Answers (1)

RithwikBojja
RithwikBojja

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:

enter image description here

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:

enter image description here

Second queue:

enter image description here

So by above observation, you can clearly see that it got triggered two times for different subscriptions

Upvotes: 1

Related Questions