Developing a Stream Processing Solution with Azure Services

1 hour
  • 3 Learning Objectives

About this Hands-on Lab

In this hands-on lab scenario, you are a data engineer for Awesome Company. You have been tasked with creating a stream processing solution in Azure that will analyze crowdsourced weather information and provide running averages. Previously, you have provisioned an Azure Data Lake Storage Gen2 account to hold the uploaded files, and now you need to configure the appropriate Azure services to both view and store the average temperatures per country in near-real time. Performing the actions of this hands-on lab will help you become familiar with building a complete stream processing solution using Azure services.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Simulate Data Uploads

Use Azure Cloud Shell within the Azure portal to run the file creation simulator located on GitHub.

Process Streaming Data with Azure Stream Analytics

Configure an Azure Stream Analytics job to obtain the average temperatures of each country across a three-minute tumbling window. Have the output stored in an Azure Cosmos DB database.

Verify the Data

Query the Azure Cosmos DB database to make sure the correct information is being stored.

Additional Resources

In this hands-on lab scenario, you are a data engineer for Awesome Company. You have been tasked with creating a stream processing solution in Azure that will analyze crowdsourced weather information and provide running averages. Previously, you have provisioned an Azure Data Lake Storage Gen2 account to hold the uploaded files, and now you need to configure the appropriate Azure services to both view and store the average temperatures per country in near-real time.

To accomplish your goal, the following should be completed:

  • Run a PowerShell script to simulate incoming data.
  • Configure an Azure Stream Analytics job to view and store the averaged data.
  • Verify that the data averages are being stored in Azure Cosmos DB.

Note: Because of the complexity of Cosmos DB architecture, it could take up to 15 minutes for that resource to provision. If the database does not immediately appear as an output option, wait a few minutes and then try again.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?