Andrew Bancroft 1/4/2019

Resolving No Events Found When Sampling Data with Azure Stream Analytics

Read Original

This article addresses a common issue in Azure Stream Analytics where sampling data from an Event Hub returns 'No events found' despite successful data transmission. The author explains that the problem often lies in the JSON structure of the sent data. Using Node.js as an example, they show that the Event Hub client must send events with a 'body' property containing the data object, not just the data object itself. The article provides code snippets comparing incorrect and correct formats, emphasizing that Azure Stream Analytics expects a specific JSON shape. It serves as a technical troubleshooting guide for developers working with Azure IoT or event-driven architectures.

Resolving No Events Found When Sampling Data with Azure Stream Analytics

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser