Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Azure IoT Hub routing to Event Hub

I created a Event Hub with 32 partitions and doing the message injection over the IoT Hub message routing.

If i connect with Stream Analytics to my Event Hub and look at the input i get this message:
"While sampling data, no data was received from ’31’ partitions"

I thought that if i have multiple partitions all the messages will be distributed over all the partitions and not land in one.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

If this is intended, then whats the use to have multiple partitions when using Stream Analytics with Event Hub as input?

>Solution :

IoT Hub will use the device ID as the partition key I think.
So if you receive data only from one device, they will all go to one partition of the Event Hub.
You’ll get more usage of the partitions by having more devices sending data to IoT Hub.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading