{"id":63507,"date":"2022-03-08T08:28:50","date_gmt":"2022-03-08T16:28:50","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/devops\/?p=63507"},"modified":"2022-02-23T08:32:13","modified_gmt":"2022-02-23T16:32:13","slug":"azurefunbytes-episode-70-intro-to-azure-stream-analytics-with-fleid_bi","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/devops\/azurefunbytes-episode-70-intro-to-azure-stream-analytics-with-fleid_bi\/","title":{"rendered":"AzureFunBytes Episode 70 &#8211; Intro to @Azure Stream Analytics with @fleid_bi"},"content":{"rendered":"<p>AzureFunBytes is a weekly opportunity to learn more about the fundamentals and foundations that make up Azure. It&#8217;s a chance for me to understand more about what people across the Azure organization do and how they do it. Every week we get together at 11 AM Pacific on <a href=\"https:\/\/cda.ms\/226\">Microsoft LearnTV<\/a> and learn more about Azure.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/res.cloudinary.com\/practicaldev\/image\/fetch\/s--Z7BxBMz1--\/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880\/https:\/\/dev-to-uploads.s3.amazonaws.com\/uploads\/articles\/j2xzw2g664tj31jij13t.gif\" alt=\"AzureFunBytes animation\" \/><\/p>\n<h2>Personal note<\/h2>\n<p>This will be my final live show of AzureFunBytes.  I&#8217;ve really enjoyed doing this show for you every week.  I appreciate you being part of my journey into the services, products, and people that make up an amazing Azure experience.  Time for some new challenges.<\/p>\n<p>This week on AzureFunBytes we\u2019ll be discussing how to best get started in stream processing with Azure Stream Analytics (ASA). <a href=\"https:\/\/azure.microsoft.com\/services\/stream-analytics\">Azure Stream Analytics<\/a> is a real-time analytics service that lets you define streaming jobs in SQL. Once deployed, these jobs will subscribe to streaming inputs like Event Hub, and filter, enrich, transform, join, or aggregate events as they come.<\/p>\n<p>Stream Analytics offers multiple experiences for developers. Small work such as demos and prototypes can be quickly addressed in the Azure Portal. But most users will find that VS Code delivers the most complete developer experience for Stream Analytics via the <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-bigdatatools.vscode-asa\">ASA Tools<\/a> extension.<\/p>\n<p>To help get started understanding ASA jobs, I&#8217;ve reached out to Microsoft Senior Product Manager <a href=\"https:\/\/twitter.com\/fleid_bi\">Florian Eiden<\/a>.<\/p>\n<p><iframe title=\"AzureFunBytes Episode 70 - Intro to @Azure Stream Analytics with @fleid_bi\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/1yc0F5OuiLU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=1yc0F5OuiLU\">00:00:00 &#8211; Opening<\/a><br>\n<a href=\"https:\/\/youtu.be\/1yc0F5OuiLU?t=185\">00:03:05 &#8211;  A special announcement on the future of AzureFunBytes<\/a><br>\n<a href=\"https:\/\/youtu.be\/1yc0F5OuiLU?t=285\">00:04:45 &#8211; Welcome to the show Florian!<\/a><br>\n<a href=\"https:\/\/youtu.be\/1yc0F5OuiLU?t=423\">00:07:03 &#8211; So how&#8217;d you get here?<\/a><br>\n<a href=\"https:\/\/youtu.be\/1yc0F5OuiLU?t=577\">00:09:37 &#8211; Benefits of being an MVP<\/a><br>\n<a href=\"https:\/\/youtu.be\/1yc0F5OuiLU?t=1132\">00:18:52 &#8211; Intro to Azure Stream Analytics<\/a><br>\n<a href=\"https:\/\/youtu.be\/1yc0F5OuiLU?t=1154\">00:19:14 &#8211; Why (near) real time?<\/a><br>\n<a href=\"https:\/\/youtu.be\/1yc0F5OuiLU?t=1265\">00:21:05 &#8211; Stream processing<\/a><br>\n<a href=\"https:\/\/youtu.be\/1yc0F5OuiLU?t=1805\">00:30:05 &#8211; ASA: Canonical real-time data pipeline<\/a><br>\n<a href=\"https:\/\/youtu.be\/1yc0F5OuiLU?t=1831\">00:30:31 &#8211; ASA: Value proposition<\/a><br>\n<a href=\"https:\/\/youtu.be\/1yc0F5OuiLU?t=1879\">00:31:19 &#8211; Positioning in Azure<\/a><br>\n<a href=\"https:\/\/youtu.be\/1yc0F5OuiLU?t=2191\">00:36:31 &#8211; ASA: Developer Experience<\/a><br>\n<a href=\"https:\/\/youtu.be\/1yc0F5OuiLU?t=2297\">00:38:17 &#8211; Demo time, Let&#8217;s build something!<\/a><br><\/p>\n<p>Our planned agenda:<\/p>\n<ul>\n<li>High level intro to stream processing \u2013 what Stream Analytics does<\/li>\n<li>The Azure Stream Analytics service, when to use it vs Functions or Data Factory<\/li>\n<li>The local development experience in VS Code: writing a query, debugging and testing<\/li>\n<\/ul>\n<h2><strong>Local development of Azure Stream Analytics jobs<\/strong><\/h2>\n<p>There are many benefits to developing Stream Analytics jobs locally in VS Code.<\/p>\n<p>It\u2019s easier to get started. As we support <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/stream-analytics\/visual-studio-code-local-run\">fully local job runs<\/a>, with sample\/mock input files, there is no need to set up an input event hub and find a way to produce events. In this case there is no need to have an Azure subscription, and development costs are non-existent. And if a streaming source is available, we also support <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/stream-analytics\/visual-studio-code-local-run-all\">local runs on live inputs<\/a>.<\/p>\n<p>The developer feedback loop is much shorter with local development. Running a query only takes a few seconds. Debugging a query is accelerated. Stream processing is not an easy domain to grasp, having quick feedback on what works or not on a query is a must. In addition we offer unit-testing via our <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/stream-analytics\/cicd-tools?tabs=visual-studio-code\">npm cicd package<\/a>: the best way to make sure a query will behave properly once deployed.<\/p>\n<p>Not to mention the obvious: local development unlocks source control, and greatly facilitates <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/stream-analytics\/cicd-overview\">CI\/CD<\/a>.<\/p>\n<p>So be part and let&#8217;s learn about Azure Stream Analytics jobs together!<\/p>\n<p><strong>About Florian Eiden:<\/strong><\/p>\n<p>Florian is a Senior Product Manager on the Azure Stream Analytics team. He\u2019s responsible for the SQL language used in Stream Analytics. He spent much of his career moving data in batches, and is now trying to speed things up. Born in France, now enjoying the Canadian Pacific Northwest with his family.<\/p>\n<hr \/>\n<p>Learn about Azure fundamentals with me!<\/p>\n<p>Live stream is normally found on Twitch, YouTube, and <a href=\"https:\/\/cda.ms\/226\">LearnTV<\/a> at 11 AM PT \/ 2 PM ET Thursday. You can also find the recordings here as well:<\/p>\n<p><a href=\"https:\/\/twitch.tv\/azurefunbytes\">AzureFunBytes on Twitch<\/a><br>\n<a href=\"https:\/\/aka.ms\/jaygordononyoutube\">AzureFunBytes on YouTube<\/a><br>\n<a href=\"https:\/\/www.youtube.com\/channel\/UC-ikyViYMM69joIAv7dlMsA\">Azure DevOps YouTube Channel<\/a><br>\n<a href=\"https:\/\/twitter.com\/azurefunbytes\">Follow AzureFunBytes on Twitter<\/a><\/p>\n<p><strong>Useful docs:<\/strong>\n<a href=\"https:\/\/cda.ms\/219\">Get $200 in free Azure Credit<\/a><br>\n<a href=\"https:\/\/cda.ms\/243\">Microsoft Learn: Introduction to Azure fundamentals<\/a> <br>\n<a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/stream-analytics\/stream-analytics-introduction?WT.mc_id=modinfra-58004-jagord\">Introduction to Azure Stream Analytics | Microsoft Docs<\/a><br>\n<a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/stream-analytics\/quick-create-visual-studio-code?WT.mc_id=modinfra-58004-jagord\">Quickstart &#8211; Create an Azure Stream Analytics job in Visual Studio Code | Microsoft Docs<\/a><br>\n<a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/stream-analytics\/visual-studio-code-local-run-all?WT.mc_id=modinfra-58004-jagord\">Develop Azure Stream Analytics queries locally with Visual Studio Code | Microsoft Docs<\/a><br>\n<a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/stream-analytics\/visual-studio-code-local-run?WT.mc_id=modinfra-58004-jagord\">Test an Azure Stream Analytics job locally with sample data using Visual Studio Code | Microsoft Docs<\/a><br>\n<a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/stream-analytics\/input-validation?WT.mc_id=modinfra-58004-jagord\">Input validation for better Azure Stream Analytics job resiliency | Microsoft Docs<\/a><br>\n<a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/stream-analytics\/stream-analytics-time-handling?WT.mc_id=modinfra-58004-jagord\">Understand time handling in Azure Stream Analytics | Microsoft Docs<\/a><br>\n<a href=\"https:\/\/docs.microsoft.com\/en-us\/stream-analytics-query\/stream-analytics-query-language-reference?toc=https:%2f%2fdocs.microsoft.com%2fen-us%2fazure%2fstream-analytics%2ftoc.json&amp;bc=https:%2f%2fdocs.microsoft.com%2fen-us%2fazure%2fbread%2ftoc.json?WT.mc_id=modinfra-58004-jagord\">Stream Analytics Query Language Reference &#8211; Stream Analytics Query | Microsoft Docs<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week on AzureFunBytes we\u2019ll be discussing how to best get started in stream processing with Azure Stream Analytics (ASA). Azure Stream Analytics is a real-time analytics service that lets you define streaming jobs in SQL. <\/p>\n","protected":false},"author":39313,"featured_media":63508,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[224],"tags":[],"class_list":["post-63507","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure"],"acf":[],"blog_post_summary":"<p>This week on AzureFunBytes we\u2019ll be discussing how to best get started in stream processing with Azure Stream Analytics (ASA). Azure Stream Analytics is a real-time analytics service that lets you define streaming jobs in SQL. <\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/63507","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/users\/39313"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/comments?post=63507"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/63507\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media\/63508"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media?parent=63507"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/categories?post=63507"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/tags?post=63507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}