Rediger

Del via


Transition from Event Grid on IoT Edge to Azure IoT Edge native capabilities

On March 31, 2023, Azure Event Grid on Azure IoT Edge was retired. Update your application to use Azure IoT Edge native capabilities instead.

Why did we retire it?

There's one major reason to retire Event Grid on IoT Edge. Event Grid has been evolving in the cloud native space to provide more robust capabilities not only in Azure but also in on-premises scenarios with Kubernetes with Azure Arc.

Event Grid on IoT Edge IoT Edge hub
- Publish and subscribe to events locally/in the cloud
- Forward events to Event Grid
- Forward events to Azure IoT Hub
- React to Azure Blob Storage events locally
- Connect to IoT Hub
- Route messages between modules or devices locally
- Get offline support
- Filter messages

How to transition to IoT Edge features

To use the IoT Edge features, follow these steps:

  1. Identify your scenario based on the feature table in the next section.
  2. Follow the documentation to change your architecture and make code changes based on the scenario you want to transition.
  3. Validate your updated architecture by sending and receiving messages/events.

Event Grid on IoT Edge vs. IoT Edge

The following table highlights the key differences during this transition.

Event Grid on IoT Edge IoT Edge
Publish, subscribe, and forward events locally or to the cloud Use the message routing feature in the IoT Edge hub to facilitate local and cloud communication. It enables device-to-module, module-to-module, and device-to-device communications by brokering messages to keep devices and modules independent from each other.

If you're subscribing to an IoT Edge hub, it's possible to create an event to publish to Event Grid, if needed. For details, see Azure IoT Hub and Event Grid on IoT Edge.
Forward events to IoT Hub Use the IoT Edge hub to optimize connections when sending messages to the cloud with offline support. For details, see IoT Edge hub cloud communication.
React to Blob Storage events on IoT Edge (preview) You can use Azure function apps to react to Blob Storage events on the cloud when a blob is created or updated. For more information, see Azure Blob Storage trigger for Azure Functions and Tutorial: Deploy Azure Functions as modules - Azure IoT Edge. Blob triggers in an IoT Edge Blob Storage module aren't supported.