Once your data is in IoT Hub, you need to be able to access it; ideally with different processors. Using different processors allows you to break out the responsibilities of each.
Azure provides a few options for processing events and sending feedback to devices. In this course we'll introduce you to Stream Analytics, Azure Functions and raw processing with C#.
If you want to follow along, or just try this out for yourself, you can find the code here.
Processing Azure IoT Hub Events and Data: What You'll Learn
|Lecture||What you'll learn|
|Course Intro||What to expect from this course|
|Understanding Streaming Data Processing for IoT Hub|
|Writing an Event Processor for IoT Hub with C#|
|Handling Device-To-Cloud data with Azure Functions|
|Processing IoT Hub data streams with Azure Stream Analytics|
|Sending feedback to devices with Azure Functions||Reviewing the code for the device|
|Final Thoughts||Wrapping up the course|
Welcome to Processing IoT Events and Data.
I’m Ben Lambert, and I’ll be narrating for the author of this course, Marco Parenzan.
The goal of this course is to show the event ingestion model of IoT Hub, and how the events can be processed.
Since IoT Hub isn’t concerned with processing messages, that means it falls to you, and fortunately Azure provides some great options. We’ll cover a few common option in this course.
We’ll cover options such as Stream Analytics, Azure Functions, as well as the raw processing of events.
When creating this course I’ve made some assumptions, so that means there are some prerequisites.
First, I assume you’re familiar with IoT Hub. If you need to get up-to-speed, check out our Introduction to IoT Hub course.
You’ll also need to be familiar with Azure Functions, and if you need a refresher, check out the Introduction to Azure Functions course.
In Introduction to IoT Hub I focused it on the IoT Hub service, and covered device connectivity; devices send events, and IoT Hub just collects them. However, once you have all of the events, you need to process them; and that’s going to be the focus of this course.
This course will be dedicated to the cloud-side of IoT, and we’ll be using a simulated device to generate events.
If after watching this course you’d like to send me feedback, you can reach me a few different ways. You can reach me on the community forums, via email at email@example.com, also I’m @marco_parenzan on Twitter. If you enjoy this course, you may also want to check out some of my blog posts covering IoT, and other topics.
I love getting feedback, both positive and negative, because all of that helps me create better content for you. So, I hope to hear from you.
Here’s the agenda for this course.
We’ll begin with understanding the Streaming Data Processing for IoT Hub.
Then we’ll cover three different processing models:
The first is to write an event process using C#.
Then we’ll discuss handling Device-To-Cloud data with Azure Functions.
And then we’ll cover Azure Stream Analytics.
Then we’ll wrap up with some final considerations.
Alright, in the next lesson we talk about Streaming Data Processing for IoT Hub. So if you're ready to learn, let's get started.
Marco Parenzan is a Research Lead for Microsoft Azure in Cloud Academy. He has been awarded three times as a Microsoft MVP on Microsoft Azure. He is a speaker in major community events in Italy about Azure and .NET development and he is a community lead for 1nn0va, an official Microsoft community in Pordenone, Italy. He has written a book on Azure in 2016. He loves IoT and retrogaming.