The Azure IoT protocol gateway includes an MQTT adapter to facilitate communication with devices over the MQTT v3.1.1 protocol. The protocol gateway and MQTT implementation are provided as am OSS project for flexibility to allow for customization of the implementation as needed.he protocol gateway can be deployed in Azure in a highly scalable way using Cloud Services worker roles. In addition, the protocol gateway can be deployed in on-premises environments such as field gateways.