Dead-letter events with Azure Event Grid

When events are not delivered to event listeners within the time left before expiry, we can route those delivery-failed events to our Storage account. The process of storing undelivered events in the Storage account is called dead-lettering. By default, the dead-lettering process is not enabled on Azure Event Grid, and the events are lost when not delivered within delivery time windows. To enable dead lettering for Azure Event Grid, we can use the Azure portal:

  1. Log in to the Azure portal at https://portal.azure.com
  2. Navigate to the resource group and click on the Event Grid instance
  3. In the Event Grid blade, click on Event Subscription
  1. On the Event Subscription page, click Enable dead-lettering and select the storage container:

It is also worth noting that Azure Event Grid sends an event to the dead-letter location when it has tried all of its retry attempts or when Event Grid receives a 400 (bad request) or 413 (request entity too large) status response code from the subscription listener. To enable notifications for failed events, we can create an Event Grid subscription listener endpoint that can react to newly failed events stored in the dead-lettering blob storage.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.188.57.172