IOT hub messages not being received in Azure Stream Analytics input

Tanishq Singh 21 Reputation points
2020-04-13T14:12:33.547+00:00

Hi,

I'm trying to send simulated smart meter JSON data to IOT hub. This data is needed as input for a stream analytics job. I can see that the messages are being sent to IOT hub but on sampling stream analytics input I get the following notification-

"No events found for 'smartinput'.
Start time: Sunday, April 12, 2020, 5:19:28 PM
End time: Monday, April 13, 2020, 5:19:28 PM
Last time arrival: Monday, September 23, 2019, 5:34:37 PM
Diagnostics: While sampling data, no data was received from '2' partitions."

Any help is appreciated. Thanks.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,984 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sander van de Velde 28,311 Reputation points MVP
    2020-04-15T15:02:50.43+00:00

    It seems your incoming device telemetry is not arriving at the Azure Stream Analytics input.

    There can be several reasons for this.

    Here are some steps to check the connectivity:

    1. Please check if the telemetry is actually arriving at the IoT Hub
    2. Check if the telemetry provided us in the correct JSON format
    3. Check if the IoTHub routing is passing all data to the default endpoint (eg. no disabled fallback endpoint)
    4. Give the IoTHub an extra consumer group to prevent other resources from 'hijacking' messages (under IoTHub | Settings | Built-in endpoints)
    5. Check the Stream Analytics input (is it connected to the right IoT Hub with the right consumer group) and after submitting, check the automatic connectivity test.

    If this does not work, please first output to an Event hub and connect that Event hub as an input for your Stream Analytics Job. You get more insights from that event hub.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 18,367 Reputation points Microsoft Employee
    2020-04-13T19:00:11.99+00:00

    The IOT forum has not yet moved to Q&A platform. Please post IOT questions on MSDN forum here

    Please refer to this thread for updates on the forum movement from MSDN to Q&A: Microsoft Q&A to replace MSDN community platform!

    1 person found this answer helpful.
    0 comments No comments