1
votes

I have a device connected to Azure IOT Hub. I have messages coming to the hub for every 20 Sec. Now for every incoming message I have some business logic to execute. I have attached event hub and stream analytics to the IOT Hub to fetch the latest record but again I am only capable of pushing it to BLOB Storage. How can I get the latest message/events as a json out of the system.

I found out that Azure Functions is a go. But I am finding samples from C#, I am looking for JavaScript/Java.

Any Help is appreciated. Thanks

1

1 Answers

2
votes

You can attach an Azure Function to your Event Hub with event hub trigger. You can find examples of such function in