MQTT 5.0 is here - and Eclipse Paho is ready

preview_player
Показать описание
EclipseCon France 2018

Speaker(s):
Ian Craggs (IBM)
James Sutton

The IoT protocol MQTT has existed since 1998, but its popularity has blossomed since open source implementations of both clients and servers became widely available. Two of the most popular implementations have homes in the Eclipse Foundation: the Paho clients and Mosquitto server.

Version 5.0 is arguably the biggest change ever for MQTT and is nearing completion at the OASIS standards body. The first OASIS standard version of MQTT, 3.1.1, introduced only minor changes from the previous specification because the aim was to complete it quickly. With version 5.0, the aim is to fix all those niggles that had built up over the years of experience with 3.1.1 implementations. I will explain some of the major issues with 3.1.1 and illustrate how MQTT 5.0 fixes them.

I will demonstrate the Eclipse Paho MQTT 5.0 clients that we have ready, along with an MQTT 5.0 server implementation that we use for testing. Of course, all these are available right now for experimentation and starting implementations.
Рекомендации по теме
Комментарии
Автор

Great video. Thanks! Regarding there being no load balancing algorithm specified by the standard... I would think you should not need one? If I take the example of AMQP consumers, they just share a common queue. A faster subscriber will request more messages, or more often, than slower ones, so no server-side load balancing should be needed. Indeed any server-side algorithm for pre-distributing messages to the participants in a shared subscription is going to have issues when the subscribers do not perform at the same rate, or when the load is not uniform. letting the consumers decide is likely the right answer.

petersilva
Автор

Error handling and Client capabilities will be most useful. Hopefully we'll see them in the Arduino pubsubclient library by @knolleary so I can use them in my projects.

jfrmilner