Example
An example Data Stream that demonstrates how to use this Action Agent to send pump readings to an Azure Event Hub can be found below. The example is designed to work with the Azure Event Hub Listener example use case.
Drag the Azure Event Hub Action Agent onto the canvas, connect the input endpoint to the pumpm readings, and save the Data Stream.

Select the Agent and click Configure. Keep the default Collection.

Tick to use variables and add the authentication values: Hub Name, End Point, and Shared Access Key Name and Value.

Click '+' to add the input mappings to the properties grid. This example uses the following properties:
- ReadingNo, Integer, ReadingNo
- Timestamp, DateTime, Timestamp
- PumpTemp, Double, Temperature

Apply the changes and save the Data Stream.

Publish both this Data Stream and the Event Hub Listener example. Open the Live View blade for both Data Streams to see how the pump data flows between the Data Streams through the Event Hub.

File | Link | Security Key |
---|---|---|
Action Agent
Data Stream | Azure Event Hub Action Agent.xuc | C0mp|ex123 |
Listener
Data Stream | Azure Event Hub Listener.xuc | C0mp|ex123 |
Last modified 1yr ago