Open christopheranderson opened 8 years ago
@christopheranderson Let me know if there is anything I can do to help or test
@colbytresness is currently working on specing this
Any news on this @christopheranderson ?
It will probably be on hold for a bit while we wrap up existing work. We've got to decide if we want to build it, or if we want to wrap up our extensiblility story/docs and ask IoT Hub themselves to build it with us.
@christopheranderson We have a relatively large deployment that we are moving from AWS Lambda to Azure Functions, it depend heavily on IoT Hub Triggers. Whereas AWS has supported this feature for a while now I see this issue has been open for almost half a year. Do you have any concrete plans to implement support for IoT Hub triggers at all?
Not to push, I'm asking only because your feedback would help us evaluate our options.
Thanks
What are the current options for Azure IoT Hub Trigger Functions? Setup routing to Service Bus and create Function for that @christopheranderson ?
I found some relevant information here: https://azure.microsoft.com/en-us/blog/azure-iot-gateway-sdk-integrates-support-for-azure-functions/ says: Azure IoT Gateway SDK integrates support for Azure Functions - meaning we can have a trigger from IoT Hub to Azure Function without the need of middle man (i.e. Event Hub).
For me, I want the Azure Function to Azure IoT hub so that IoT Hub send the message to my IoT gateway device. I cannot use Notification Hub for this purpose as my gateway is a C language based tiny device. Do we have this feature now as well?
@1N50MN14 @tedvanderveen @habibcs IoT Hub exposes an Event Hub -compatible endpoint that can be used as a trigger for Functions. This blog post provides guidance on how to do that and I have a sample here that stores data coming to an IoT Hub to a PostgreSQL database using a Node.js app running in Azure Functions.
@vjrantal This issue is obviously old, I have since figured out how to integrate IoT Hub with Azure Functions, but unfortunately the lack of CORS support is a show stopper see this issue https://github.com/Azure/azure-webjobs-sdk-script/issues/1139 - pay attention to how many thumbs up it has.
At this point I've given up on IoT Hub all together and went back to AWS IoT.
@vjrantal Yes, but now can not fill in the "Event Hub connection".
@awong1900 That does not look right since you should be able to see something like below to create a new connection and start using it:
If you still have this issue, I suggest reporting it at https://github.com/Azure/azure-functions-ux/issues. I can also see there is some ongoing work in this area https://github.com/Azure/azure-functions-ux/issues/1414 so please check that one as well.
Yes, that thread is exactly description.
From @wmmihaa in azure-iot-sdks - https://github.com/Azure/azure-iot-sdks/issues/586
This is a new feature add. We have a few things we need to do to support IoT Hub, but we could potentially "map" the EventHub trigger to the IoT Hub event stream, since they are compatible, we just need UX/errors/etc.
I was thinking we'd start breaking down the work required for this support in June. Should triage this to next?