Is there a clean retry mechanism for EventGrid messages that were successfully delivered, but downstream processes failed and message needs to be sent again?
Example:
- EventGrid message triggered based on blob upload to Azure Storage
- EventGrid message in turn, triggers an Azure Function
- Function receives message
- Function fails somewhere downstream
Is there a clean way to resend the EventGrid message rather than re-uploading the blob to storage to generate a new message?
Looking for a way to maybe craft and send retry messages for a bunch of blobs?
Something like (pseudocode):
ForEach blob in GET_BLOBS
- where Modified Timestamp > Today - 1,
- generate EventGrid message
{
"blobUrl":"https://storageaccount.blob.core.windows.net/dir/file.json",
}
- send EventGrid message to Function