- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
- Data

Handle Adversity in Azure Stream Analytics
Imagine you work at your local arcade hall: a cool environment with lots of vintage games and excited customers. Besides operating the machines and talking to customers, you are also the designated IT person. In that capacity, your boss has asked you to make some changes to one of the Stream Analytics jobs the company is running to make it more resilient. You are tasked with implementing an output error policy that retries writing records indefinitely and verifying that the solution actually works.

Lab Info
Table of Contents
-
Challenge
Configure an Output Error Policy with a Value of 'Retry'
Configure an output error policy with a value of 'Retry'.
Don't forget to start the job after you have done so!
-
Challenge
Generate Load against the Event Hub
Generate load against the event hub in one of two ways:
- Use the load generator script that comes with the course.
- Use the Event Hubs Generate Data Preview capability.
-
Challenge
Disable the Target Storage Container and Observe What Happens
Ensure the target storage container is no longer writeable by the Stream Analytics Job. There are multiple ways to accomplish this, so try to find your own way.
Once the container is no longer writeable, you should observe that results are no longer coming in.
-
Challenge
Enable the Target Storage Container and Observe What Happens
You should undo the change you made before and ensure the storage container is once again writeable by the Stream Analytics job. Once this is the case, you should observe new results flowing in again. You should also observe results that were generated during the downtime being retried and becoming available as well.
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.