As the MQTT protocol passes through TCP, the difference between the three layers of QoS is quite subtle. Under normal circumstances, TCP will deliver and prevent duplicates.
I intend to use MQTT to send real-time data to mobile devices, but I do not need reliable delivery. Keeping the battery as low as possible is very important, so it would be great to avoid sending unnecessary messages (TCP acknowledgment).
Is it possible to implement MQTT over UDP or another unreliable transport layer protocol? Is there any existing library?
source
share