The IoT Hub device-to-cloud messaging, which is referred to as telemetry data, is implemented as a streaming messaging pattern. The telemetry can be sensor data collected by the IoT device, along with the timestamp and metadata for the device. IoT Hub exposes the endpoints that will enable the device-to-cloud messages. The default route is /devices//messages/events, which is compatible with event hubs. Once the IoT Hub is configured for message routing, the routing rules engine then routes your messages to one of the service-facing endpoints on your IoT Hub which are sent from the IoT devices, example a temperature sensor is sending data, suppose the temperature falls below 25 C it will be routed to custom endpoints.
IoT Hub also provides the message routing mechanism while sending the device-to-cloud message. When we have many IoT devices out in the...