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?
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@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?
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.