How can we route telemetry messages from Azure IOT Hub to Data Lake store using AZURE function.
1 Answers
2
votes
It sounds like you want to use Azure Function with IoT Hub trigger to process messages and transfer to Data Lake Store.
There are an offical blog How to use Azure Functions with IoT Hub message routing
introduce how to set up Azure Functions with IoT Hub message routing and an existing SO thread Azure Functions - how to set up IoTHubTrigger for my IoTHub messages? which you can refer to.
Then you just need to process messsages from IoTHub and use Data Lake Storage SDK (for example using .NET) to transfer to Data Lake Store.
Also, using Azure Stream Analytics for some simple cases is a simple & better solution via query language like SQL without any code in programming to route messages from IoTHub to Data Lake Store.