Last week Microsoft finally updated Microsoft Azure Stream Analytics with great new features. In this blogpost I explain some new features I use in our projects now.
Using custom code in your Microsoft Stream Analytics Query
First of all you go to your Microsoft Stream Analytics job and select ‘Function’ and add a new one:
Add a function in Azure Stream Analytics
Visual Studio integration for Azure Stream Analytics
One challenge I have with creating queries in Azure Stream Analytics (yes, I am not the best with SQL..) is testing my queries with the data input. I was costing me a lot of time. I was the last weeks part of a private preview of the integration of Azure Stream Analytics in Visual Studio. That is now in public preview (download here). With this add-in you can export (or import) your Microsoft Stream Analytics projects in Visual Studio and test everything locally! Currently only Visual Studio 2015 is supported.
1. First or all go to your Server Explorer and navigate to Stream Analytics and hit the export button.
Export in Visual Studio a Stream Analytics project
2. Then your complete stream analytics project is exported to Visual Studio 2015. Here you get some great functionalities.
Exported Azure Stream Analytics project in Visual Studio
Syntax Highlighting in your queries
You can write your query and test it directly to testdata! Just hit F5!
You have off course directly integration with TFS / source control
Using local data to test your new queries
Low-latency dashboards in Power BI
Another new update is low latency support in your Microsoft Power BI output of Azure Stream Analytics. (Power BI streaming sets). The latency is now much better then some weeks ago. So you get faster insights in your data!
Low latency in Power BI as output in Stream Analytics