Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
Azure provides services developed for diverse types of connectivity and communication to help you connect your data to the power of the cloud. Azure IoT Hub i Azure Event Hubs jsou cloudové služby, které ingestují velké objemy dat a zpracovávají nebo ukládají tato data pro obchodní přehledy. The two services are similar in that they both support ingestion of data with low latency and high reliability, but they're designed for different purposes. Služba IoT Hub byla vyvinuta tak, aby řešila jedinečné požadavky připojení zařízení IoT ke cloudu Azure, zatímco služba Event Hubs byla navržená pro streamování velkých objemů dat. Microsoft recommends using Azure IoT Hub to connect IoT devices to Azure
Azure IoT Hub is the cloud gateway that connects IoT devices to gather data and drive business insights and automation. In addition, IoT Hub includes features that enrich the relationship between your devices and your backend systems. Bi-directional communication capabilities mean that while you receive data from devices you can also send commands and policies back to devices. For example, use cloud-to-device messaging to update properties or invoke device management actions. Cloud-to-device communication also enables you to send cloud intelligence to your edge devices with Azure IoT Edge. The unique device-level identity provided by IoT Hub helps better secure your IoT solution from potential attacks.
Azure Event Hubs is the big data streaming service of Azure. It's designed for high throughput data streaming scenarios where customers might send billions of requests per day, and uses a partitioned consumer model to scale out your stream. Event Hubs is integrated into the big data and analytics services of Azure, including Databricks, Stream Analytics, ADLS, and HDInsight. With features like Event Hubs Capture and Auto-Inflate, this service is designed to support your big data apps and solutions. Additionally, IoT Hub uses Event Hubs for its telemetry flow path, so your IoT solution also benefits from the tremendous power of Event Hubs.
To summarize, both solutions are designed for data ingestion at a massive scale. Only IoT Hub provides the rich IoT-specific capabilities that are designed for you to maximize the business value of connecting your IoT devices to the Azure cloud. If your IoT journey is just beginning, starting with IoT Hub to support your data ingestion scenarios assures that you have instant access to full-featured IoT capabilities, once your business and technical needs require them.
The following table provides details about how the two tiers of IoT Hub compare to Event Hubs when you're evaluating them for IoT capabilities. For more information about the standard and basic tiers of IoT Hub, see Choose the right IoT Hub tier and size for your solution.
| IoT capability | IoT Hub standard tier | IoT Hub basic tier | Centra událostí |
|---|---|---|---|
| Zasílání zpráv ze zařízení do cloudu |
|
|
|
| Protocols: HTTPS, AMQP, AMQP over WebSockets |
|
|
|
| Protocols: MQTT, MQTT over WebSockets |
|
|
|
| Per-device identity |
|
|
|
| File upload from devices |
|
|
|
| Služba zajišťování zařízení |
|
|
|
| Cloud-to-device messaging |
|
||
| Device twin and device management |
|
||
| Device streams (preview) |
|
||
| IoT Edge |
|
Even if the only use case is device-to-cloud data ingestion, we highly recommend using IoT Hub as it provides a service that is designed for IoT device connectivity.