Azure Event Hubs binding spec

To setup Azure Event Hubs binding create a component of type . See this guide on how to create and apply a binding configuration.

See for instructions on how to set up an Event Hub.

Warning

This component supports output binding with the following operations:

  • create

Azure IoT Hub provides an , so Dapr apps can create input bindings to read Azure IoT Hub events using the Event Hubs bindings component.

System Property NameDescription & Routing Query Keyword
iothub-connection-auth-generation-idThe connectionDeviceGenerationId of the device that sent the message. See IoT Hub device identity properties.
iothub-connection-auth-methodThe connectionAuthMethod used to authenticate the device that sent the message.
The deviceId of the device that sent the message. See .
iothub-connection-module-idThe moduleId of the device that sent the message. See IoT Hub device identity properties.
iothub-enqueuedtimeThe enqueuedTime in RFC3339 format that the device-to-cloud message was received by IoT Hub.
message-idThe user-settable AMQP messageId.

For example, the headers of a HTTP Read() response would contain:

  1. {
  2. 'host': '127.0.0.1:3000',
  3. 'content-type': 'application/json',
  4. 'content-length': '120',
  5. 'iothub-connection-auth-generation-id': '637618061680407492',
  6. 'iothub-connection-auth-method': '{"scope":"module","type":"sas","issuer":"iothub","acceptingIpFilterRule":null}',
  7. 'iothub-connection-module-id': 'my-test-module-a',
  8. 'iothub-enqueuedtime': '2021-07-13T22:08:09Z',
  9. 'x-opt-sequence-number': '35',
  10. 'x-opt-enqueued-time': '2021-07-13T22:08:09Z',
  11. 'x-opt-offset': '21560',
  12. 'traceparent': '00-4655608164bc48b985b42d39865f3834-ed6cf3697c86e7bd-01'