You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the PubSub or Input binding with Azure Event Hubs, I get all the relevant information: event body, properties and system properties.
Actual Behavior
The binding is missing important events data that are stored in properties and system properties. Other services send events to Event Hubs and use that properties and system properties to provide relevant information, for example, IoT Hub, where fixes to the binding has been done to include that important information:
There has been other issues related to this which have fixed the integration with Azure IoT Hubs and its compatible Event Hub endpoint:
In the case of Azure Digital Twins (ADT), when you route output data to Event Hubs, the following information is part of the event:
Payload / Event Body:
Create a client application that use the DAPR eventhubs pub/sub (go or C#) and the properties and system properties are not present when receiving the data.
In the code there are some references to the "requireAllProperties" but not found a way to make it work:
Another way to test it is to create a client app that uses the PubSub with EventHubs, publis some events adding properties and validate that the properties or system properties are not present when subscribed to EventsHub.
The text was updated successfully, but these errors were encountered:
Only short list of properties are supported, all others go to default "// nop" statement.
I can't figure out what could be the reason for not including them all?
Or maybe metadata "requireAllProperties" should be renamed to "requireAlmostAllProperties" ;)
hope to using dapr for scale out instance process eventhub message, cause direct using eventhub sdk seems will limit by partition count. (using dapr can helpful for this correct?)
hope to using dapr for scale out instance process eventhub message, cause direct using eventhub sdk seems will limit by partition count. (using dapr can helpful for this correct?)
it seems it will also limit by partition count, only one app will receive the request if partition count is 1.
Expected Behavior
Using the PubSub or Input binding with Azure Event Hubs, I get all the relevant information: event body, properties and system properties.
Actual Behavior
The binding is missing important events data that are stored in properties and system properties. Other services send events to Event Hubs and use that properties and system properties to provide relevant information, for example, IoT Hub, where fixes to the binding has been done to include that important information:
There has been other issues related to this which have fixed the integration with Azure IoT Hubs and its compatible Event Hub endpoint:
#1151
#1243
In the case of Azure Digital Twins (ADT), when you route output data to Event Hubs, the following information is part of the event:
Payload / Event Body:
Properties:
System Properties:
Here you can see the whole event data from a C# debug screenshot:
Steps to Reproduce the Problem
Use PubSub / Input Binding components with Azure Event Hubs + ADT output as described in this article: https://learn.microsoft.com/en-us/azure/digital-twins/concepts-route-events
Create a client application that use the DAPR eventhubs pub/sub (go or C#) and the properties and system properties are not present when receiving the data.
In the code there are some references to the "requireAllProperties" but not found a way to make it work:
components-contrib/pubsub/azure/eventhubs/eventhubs.go
Line 130 in f0587ca
Another way to test it is to create a client app that uses the PubSub with EventHubs, publis some events adding properties and validate that the properties or system properties are not present when subscribed to EventsHub.
The text was updated successfully, but these errors were encountered: