Azure-docs: Handling Azure Events failure scenario for Webhook

Created on 31 Aug 2018  Â·  5Comments  Â·  Source: MicrosoftDocs/azure-docs

Team -

From the documentation above it is clear that if you are using a webhook handler, in success scenarios you need to return 200 OK. But if I am not wrong the collection of events is posted to the webhook and not a single event - so are we saying 200 OK is to be returned inside for loop instead of outside? I mean what happens if out of 3 events received 1 fails and 2 passes?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 cxp event-grisvc product-question triaged

Most helpful comment

Hi @mishas23, we still only pass events to Functions in an array of one - as we add batch functionality, we will work on the best way to handle partial failures.

All 5 comments

@girishacharya - currently, each event is sent individually in an array of one. If this changes in the future, we will clarify the scenario you described. For additional information, see Event Grid message delivery and retry.

@girishacharya We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

Hi Mike, I would like to reconfirm this question. I am about to implement http trigger based azure function v1.0 as one one of the event grid subscription and had the same question what https://github.com/girishacharya had. Can you please let me know the current state

Hi @mishas23, we still only pass events to Functions in an array of one - as we add batch functionality, we will work on the best way to handle partial failures.

According to https://docs.microsoft.com/en-us/azure/event-grid/delivery-and-retry it is now possible to enable batched event delivery.

The original question becomes actual again, how to implement the partial failure?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jebeld17 picture jebeld17  Â·  3Comments

jamesgallagher-ie picture jamesgallagher-ie  Â·  3Comments

bityob picture bityob  Â·  3Comments

ianpowell2017 picture ianpowell2017  Â·  3Comments

Agazoth picture Agazoth  Â·  3Comments