Skip to content

Latest commit

 

History

History
104 lines (62 loc) · 8.36 KB

File metadata and controls

104 lines (62 loc) · 8.36 KB
title Azure Event Grid Use Cases for Event-Driven Apps
description This article provides a list of use cases that show you how to use both Message Queuing Telemetry Transport (MQTT) and HTTP messaging capabilities of Event Grid.
ms.topic concept-article
author robece
ms.author robece
ms.reviewer spelluru
ms.custom
references_regions
build-2024
ms.date 03/26/2026

Azure Event Grid use cases

This article provides several sample use cases for using Azure Event Grid.

Note

If you're new to Azure Event Grid, read the Azure Event Grid overview before proceeding.

MQTT messaging use cases

Azure Event Grid's MQTT broker feature enables you to accomplish the following scenarios.

Ingest IoT telemetry

:::image type="content" source="media/overview/ingest-telemetry.png" alt-text="High-level diagram of Event Grid that shows IoT clients using MQTT protocol to send messages to a cloud app." lightbox="media/overview/ingest-telemetry-high-res.png" border="false":::

Ingest telemetry by using a many-to-one messaging pattern. For example, use Event Grid to send telemetry from multiple IoT devices to a cloud application. This pattern enables the application to offload the burden of managing the high number of connections with devices to Event Grid.

Command and control

:::image type="content" source="media/overview/command-control.png" alt-text="High-level diagram of Event Grid that shows a cloud application sending a command message over MQTT to a device using request and response topics." lightbox="media/overview/command-control-high-res.png" border="false":::

Control your MQTT clients by using the request-response (one-to-one) message pattern. For example, use Event Grid to send a command from a cloud application to an IoT device.

Broadcast alerts

:::image type="content" source="media/overview/broadcast-alerts.png" alt-text="High-level diagram of Event Grid that shows a cloud application sending an alert message over MQTT to several devices." lightbox="media/overview/broadcast-alerts-high-res.png" border="false":::

Broadcast alerts to a fleet of clients by using the one-to-many messaging pattern. For example, use Event Grid to send an alert from a cloud application to multiple IoT devices. This pattern enables the application to publish only one message that the service replicates for every interested client.

Integrate MQTT data

:::image type="content" source="media/overview/integrate-data.png" alt-text="Diagram that shows several IoT devices sending health data over MQTT to Event Grid." lightbox="media/overview/integrate-data-high-res.png" border="false":::

Integrate data from your MQTT clients by routing MQTT messages to Azure services and custom endpoints through push delivery or pull delivery. For example, use Event Grid to route telemetry from your IoT devices to Event Hubs and then to Azure Stream Analytics to gain insights from your device telemetry.

Push delivery use cases

Event Grid push delivery enables the following use cases.

Build event-driven serverless solutions

:::image type="content" source="media/overview/build-event-serverless.png" alt-text="Diagram that shows Azure Functions publishing events to Event Grid using HTTP. Event Grid then sends those events to Azure Logic Apps." lightbox="media/overview/build-event-serverless-high-res.png" border="false":::

Use Event Grid to build serverless solutions with Azure Functions Apps, Logic Apps, and API Management. By using serverless services with Event Grid, you get a level of productivity, effort economy, and integration that's superior to classical computing models where you have to procure, manage, secure, and maintain all infrastructure deployed.

Receive events from Azure services

:::image type="content" source="media/overview/receive-events-azure.png" alt-text="Diagram that shows Blob Storage publishing events to Event Grid over HTTP." lightbox="media/overview/receive-events-azure-high-res.png" border="false":::

Event Grid can receive events from more than 20 Azure services so that you can automate your operations. For example, you can configure Event Grid to receive an event when a new blob is created on an Azure Storage Account so that your downstream application can read and process its content. For a list of all supported Azure services and events, see System topics.

Receive events from your applications

:::image type="content" source="media/overview/receive-events-apps.png" alt-text="Diagram that shows customer application publishing events to Event Grid using HTTP. Event Grid sends those events to webhooks or Azure services." lightbox="media/overview/receive-events-apps-high-res.png" border="false":::

Your own service or application publishes events to Event Grid that subscriber applications process. Event Grid features Namespace Topics to address integration and routing requirements at scale with a simple resource model. You can also use Custom Topics to meet basic integration requirements and Domains for a simple management and routing model when you need to distribute events to hundreds or thousands of different groups.

Receive events from partner (SaaS providers)

:::image type="content" source="media/overview/receive-saas-providers.png" alt-text="Diagram that shows an external partner application publishing event to Event Grid using HTTP." lightbox="media/overview/receive-saas-providers-high-res.png" border="false":::

A multitenant SaaS provider or platform can publish their events to Event Grid through a feature called Partner Events. You can subscribe to those events and automate tasks, for example. Events from the following partners are currently available:

Pull delivery use cases

Azure Event Grid features pull CloudEvents delivery. By using this delivery mode, clients connect to Event Grid to read events. The following use cases can be realized by using pull delivery.

Receive events at your own pace

:::image type="content" source="media/overview/pull-events-at-your-own-pace.png" alt-text="High-level diagram of a publisher and consumer application." lightbox="media/overview/pull-events-at-your-own-pace-high-res.png" border="false":::

One or more clients can connect to Azure Event Grid to read messages at their own pace. Event Grid gives clients full control over event consumption. Your application can receive events at certain times of the day, for example. Your solution can also increase the rate of consumption by adding more clients that read from Event Grid.

Consume events over a private link

:::image type="content" source="media/overview/consume-private-link-pull-api.png" alt-text="High-level diagram of a consumer app inside a virtual network reading events from Event Grid over a private endpoint inside the virtual network." lightbox="media/overview/consume-private-link-pull-api-high-res.png" border="false":::

You can configure private links to connect to Azure Event Grid to publish and read CloudEvents through a private endpoint in your virtual network. Traffic between your virtual network and Event Grid travels the Microsoft backbone network.

Important

Private links are available with pull delivery, not with push delivery. You can use private links when your application connects to Event Grid to publish events or receive events, not when Event Grid connects to your webhook or Azure service to deliver events.

Related content