Azure Event Hubs Trigger Node
The Azure Event Hubs Trigger will trigger a workflow whenever an integration receives an Azure Event Hubs message on the configured partition keys.
Node Properties
Azure Event Hub Integration
The Azure Event Hubs Trigger has one piece of configuration: the integration to consume events from. When a workflow with this trigger is deployed, it will begin firing for new messages sent to the event hub.
Payload
The payload will include the triggering event in the data
field. In the general case, an Azure Event Hubs workflow payload will look like the following:
{
"applicationId": "555555555555eeeeeeeeeeee",
"applicationName": "My Great Application",
"data": {
"event": {
"body": "myEventMessage",
"enqueuedTimeUtc": "2017-02-19T17:25:55.409Z",
"offset": "4532",
"partitionKey": "product",
"properties": { "myKey": "myValue" },
"sequenceNumber": 32
},
"eventHubName": "myHub",
"partitionId": "1"
},
"flowId": "333333333333cccccccccccc",
"flowName": "My Great Workflow",
"flowVersion": "myFlowVersion",
"globals": {
"aJsonGlobal": {
"key": "value"
},
"aNumberGlobal": 42,
"aStringGlobal": "My value"
},
"relayId": "<ID of the integration>",
"relayType": "integration",
"triggerId": "<ID of the integration>",
"triggerType": "integration"
}