This example will describe how we can work with a custom Event Grid topic to broadcast events from an event source to multiple event listener endpoints. In this example, we will use the Azure Functions code given in the previous section to publish custom events to an Event Grid topic endpoint.
The basic event flow architecture is described in the following diagram. The event flow details are listed here:
- The web app sends an event to Azure Event Grid.
- Azure Event Grid has three different subscriptions, Logic Apps, Azure Functions, and Webhooks, to read the event details.
- Logic Apps will write the incoming event to Service Bus, which will again be polled by the client application. ...