Azure / azure-iot-protocol-gateway

Azure IoT protocol gateway enables protocol translation for Azure IoT Hub
Other
225 stars 151 forks source link

can someone tell me is that each device connect to the iothub by IMessagingBridge? #128

Open wuzhenda opened 5 years ago

wuzhenda commented 5 years ago

there is an IMessagingBridge in each connection in mqttAdapter. so each device is connected to the iothub throuth IMessageingBridge. is that OK? if there are millions devices,they all connected to the iothub?
why not all devices use one connection to the iothub, the message from the device to iothub still use pub method and the message to the device let the iot-protocol-gateway to router the message ?

wuzhenda commented 5 years ago

sth like

Design:

design