Azure Event Hub is a cloud-based data streaming platform and event ingestion service offered by Microsoft Azure. It is part of Azure's broader suite of services for building real-time, data-driven applications and processing massive amounts of event data. Azure Event Hub Connector utilizes the open, standardized protocol AMQP for communication between the services.
Using this Connector allows you to take the normalized Mapped data and send it to Azure Event Hub for further use.
Effectively any use case can be enabled through the Azure Event Hub Connector, as the data can be analyzed and utilized in a variety of ways once it's streamed.
To enable access to your Azure Event Hubs, you'll first need to create a Shared Access Policy and provide the resulting Connection String below.
From the Azure Portal:
Credential | Description |
---|---|
Connection string-primary key | Connection string for the specific Event Hub that you'd Mapped to push data to |
There is no additional config required once the Connection string is added, the data will start to flow to that location once the Connector config is saved.
Below are some samples showing different data types and how the payload will look when delivered to Event Hub:
Copy1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
// Numeric Value { "pointId": "PNT00000000000000", "timestamp": "2023-01-01T00:00:00.000Z", "value": 97.5 } // String Value { "pointId": "PNT00000000000000", "timestamp": "2023-01-01T00:00:00.000Z", "value": "OFF" } // Complex Value { "pointId": "PNT00000000000000", "timestamp": "2023-01-01T00:00:00.000Z", "value": { "access": "ALLOWED" } } // Boolean Value { "pointId": "PNT00000000000000", "timestamp": "2023-01-01T00:00:00.000Z", "value": false }