Sending Data to a Microsoft Azure Event Hub

You can send data from Device Cloud to a Microsoft Azure event hub to store and process it for real-time analytics or other off-platform processing.

Azure Event Hubs is a highly scalable data streaming platform and event ingestion service, capable of receiving and processing millions of events per second. Event Hubs can process and store events, data, or telemetry produced by distributed software and devices.

You can create a trigger with the azure.event_hub.send trigger action to send data to an event hub, based on conditions specified in the trigger. For more information, see azure.event_hub.send.

The primary key in the access policy is the token used as a certificate to allow access.

Before connecting to an event hub using the azure.event_hub.send trigger action, you need an event hub in Microsoft Azure with a namespace and a valid access policy.

For more information about creating a namespace and an event hub, see Create an Event Hubs namespace and an event hub using the Azure portal.

When you create a trigger, use the information you entered when you created the event hub to fill in the trigger action fields and then click Add.