question

ShreeCharan-2890 avatar image
0 Votes"
ShreeCharan-2890 asked MayankBargali-MSFT answered

What happens if event is published to event grid without any event subscription

What happens if I publish event to event grid that which does not have any event subscription. Will the event get dropped if not, if I add a event subscription later on with event handler, will the event handler receive the event?

azure-event-grid
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MayankBargali-MSFT avatar image
1 Vote"
MayankBargali-MSFT answered

@ShreeCharan-2890 As soon as the events are send to event grid topic it will be passed to event grid subscription that are created under that topic based on the configuration and filter condition. In case if you don't have any event grid subscription created under that topic then the events will be dropped as there are no event handler/subscriber for that topic. If you add event grid subscription later on still the earlier event will not be send as the events are already dropped.
In case you have subscription created and matching the filter conditions then the delivery and retry will happened as mentioned in this document.

Feel free to get back to me if you have any queries or concerns.

Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.