Closed bran-ch closed 4 years ago
@bran-ch thanks for reporting this, our team will look into this. //cc: @mayurid @yunhaoling
Seeing the same issue. The metadata seems to be exposed correctly using the JavaScript and .net SDK.
@kaerm - This seems to be related to Azure Functions and/or IoT Hub - do you know the best person to direct it to?
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @ ahmedelnably, @fabiocav
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @iluican @jlian
@iluican can you assign someone to look at this?
@jebrando is this part of the python client SDK?
@jlian I believe this is from the Eventhub SDK and not the IoTHub SDK. You may have to ping someone in that area.
@kaerm can you help redirect?
@yunhaoling can you take a look?
Hi @kaerm , I don't think the code is part of our python EventHub SDK but it could be the Azure Function Event Hub Trigger
that uses our sdk. Anyway I think we'd better reach out to the related Azure Function Team for more information.
Thanks @yunhaoling //cc: @mayurid
Azure function team is looking
Hey @bran-ch,
After investigation, this is due to a schema change in function triggers metadata. https://github.com/Azure/azure-functions-python-worker/issues/418
This issue should be fixed in the next release.
Looks like the upstream issue https://github.com/Azure/azure-functions-python-worker/issues/418 is closed as fixed, but folks are still reporting problems.
If anyone here is still seeing this issue, please log a new GitHub issue at https://github.com/Azure/azure-functions-python-worker
Closing this issue as there are nothing that can be done from the Python Event Hubs SDK perspective.
Also, based on https://github.com/Azure/azure-functions-python-worker/issues/639 and https://github.com/Azure/azure-functions-python-worker/issues/698, it looks like we are just waiting for the next deployment of the python worker
When streaming IoT Hub data into Event Hub, the fields in the EventHubEvent are not correctly populated.
I am using IoT Central and the same data stream to a blob storage provides a
Properties
andSystemProperties
field. On further investigation, the SDK seems to useEventHubTriggerConverter
(infunctions/eventhub.py
) to convert the incoming event and extracts the metadata like so:but the
trigger_metadata
is a dict withProperties
andSystemProperties
included.