Forum Discussion
IoT Hub message routing vs stream analytics
Hello Team,
So there is a scenario, that I have to put stream data from IoT hub to Event Hub (1 : n ).
I see multiple options to do that:
1. IoT Hub Message route
2. Event Grid
3. Azure stream Analytics
4. Azure Functions
we have to filter data on the basis of message body and direct it to specified event hub, out of the above 4 which one serves when?
Thanks,
Biplab
- Ok, think that i have 10 million request per day,
option 1: IoT hub route to Event hub
option 2: Stream Analytics as integration layer to event hub
option 3: Event Grid as broker to Event hub.
what should be done and rationale?
4 Replies
- rupeshshetCopper Contributor
IoT Message Route is enough to route you data to any Event Hub and then to Stream Analytic.
Other option is filter message IoT Message Route on Built Event hub and consumed in Stream Analytic.
- Biplab SahCopper ContributorThanks @rupeshet
I do know. I am willing to compare them, like
1. is Stream analytics faster than IoT Hub query
2. is there a capacity cap for routing message in IoT Hub query etc.- rupeshshetCopper Contributor
is Stream analytics faster than IoT Hub query
Stream analytics is more for data analysis. IoT Hub query can be used for filtration, device data, devices state.
is there a capacity cap for routing message in IoT Hub query etc.
Nope, capacity will be on IoT Hub tier and usage of any connector.