Application

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.

Azure Event Hubs Trigger

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",
  "time": Fri Feb 19 2016 17:26:00 GMT-0500 (EST),
  "triggerId": "<ID of the integration>",
  "triggerType": "integration"
}

Was this page helpful?


Still looking for help? You can also search the Losant Forums or submit your question there.