Setting the data flow
When data is sent to IoT Hub, we need to handle and manage it. Common use cases for data management are the following:
- Data storage: We can save our telemetry data and/or device status in various databases: Azure Data Lake or Cosmos DB. This data can be used for visualization, processing, and execution later.
- Data processing:
- Real-time data analytics: We can apply real-time data processing and aggregation
- Rule-based message routing: We can define actions to take when data is received in the cloud
- Data transformation: Data can be enriched and/or transformed:
- Integration with Azure applications: We can integrate data with custom applications via custom endpoints
- Event notifications and processing: We can redirect messages to Azure Event Grid or Service Bus
- Visualization: We can show data and events.
We will describe these use cases in the next sections.
Data storage
In this section, we will see how to store our data; however, we need...