MQTT is a machine-to-machine (M2M)/"Internet of Things" connectivity protocol. It was designed as an extremely lightweight publish/subscribe messaging transport. It is useful for connections with remote locations where a small code footprint is required and/or network bandwidth is at a premium. For example, it has been used in sensors communicating to a broker via satellite link, over occasional dial-up connections with healthcare providers, and in a range of home automation and small device scenarios. It is also ideal for mobile applications because of its small size, low power usage, minimised data packets, and efficient distribution of information to one or many receivers (more...)

News RSS feed

Free webinar – learn more about MQTT

September 21st, 2012 - No Comments

Just a note to point out that the Eclipse M2M Industry Working Group is currently running a series of free webinars about machine-to-machine / Internet of Things development. The next one in the series, on Thursday September 27th, focuses specifically on MQTT with two of the lead developers from IBM.

Here’s the abstract:

MQTT is a connectivity protocol designed for M2M. It is an extremely lightweight publish/subscribe messaging transport that is ideal for connecting small devices connected on networks with minimal bandwidth. The Eclipse Paho project is the reference implementation for the MQTT protocol. This webinar will introduce developers to MQTT and then show how you can develop your very first MQTT based application using Paho and the Eclipse IDE.

So, just to recap – free education, provided by some of the leading developers in the MQTT community. Sign up and get it in your calendar!

(oh, and the other talks in the series are also worth joining – they have already covered the goals of the M2M efforts at Eclipse, and the anatomy of an M2M application, with more technical talks to come!)

Mosquitoes! Rabbits! Facebook! Portals! (news round-up)

September 13th, 2012 - No Comments

Lots of community news to talk about this time around… I was about to type “let’s start with the big stories”, but then realised that they are all big!

Mosquitto 1.x

After a couple of years in development, the popular fully Open Source MQTT broker, mosquitto by Roger Light, hit version 1.0. Check out the long list of enhancements in the announcement post, including comprehensive SSL/TLS support, better password management, a rewritten pure Python client, a Javascript/websockets client, and “masses of bug fixes”. A couple of additional point releases followed quickly after the major release, so it’s looking very polished. Roger has given a lot of time to the MQTT community, so if you use mosquitto please let him know – and why not donate, as a thank you for all his hard work? There’s a link to do so on the mosquitto homepage.

(even) More brokers

The Software page has been updated to list a number of new server/broker implementations including Apache ActiveMQ and Apollo, and the just-announced RabbitMQ adapter for MQTT. The latter is particularly exciting, as it offers interoperability between the AMQP and MQTT protocols.

As there are a number of publically-accessible brokers now, we’ve made a list so that you can get testing with MQTT more quickly. We’ve also started to look at protocol compliance / completeness on a new page on the wiki – please help to update this page (and all of the wiki!).

update: moments after posting this, moquette-mqtt also released an early version of a new Java broker implementation. Worth a look.

More software

Beyond the brokers, we now have more clients (new Javascript, Objective-C, Python APIs) listed; and some client tools for testing, such as the excellent

Facebook apps using (more) MQTT

A year after Facebook first went public about their use of MQTT within Facebook Messenger, the new native iOS Facebook app also credits the libmosquitto library and their blog post mentions that they are using MQTT extensively for notifications and updates. This has led to analysts like James Governor and news outlets like ReadWriteWeb writing pieces on the change. Of course, the endpoints themselves are not public – but that’s not the point.  It’s a good use of the protocol (it is efficient on battery, CPU and network in mobile scenarios), and it’s a great validation for the use case.

Eclipse Paho and Eclipse M2M Portal

The Eclipse Paho project is the primary home of the reference MQTT clients that started at IBM. Paho is a core project inside the Eclipse M2M Industry Working Group. The Java and C clients are being cleaned up, there is a nice Eclipse view for testing, and a Lua client has been contributed, so progress is being made. As of today, there’s also a brand new portal where developers can go to find their way around the projects, frameworks, and resources provided by the M2M initiative at Eclipse. You’ll find MQTT featured on the Protocols page, and a Sandbox page which discusses how to connect to the test broker provided by Eclipse.

MQTT, the book

IBM published a Redbook, Building Smarter Planet Solutions with MQTT and IBM WebSphere MQ Telemetry. This should be a great read both for those wanting to learn the basics of MQTT, and also those looking to integrate with WebSphere MQ. Redbooks are very comprehensive and this one weighs in at 268 pages, available for free in PDF and Ebook formats. Take a look.


Places to talk about MQTT

July 4th, 2012 - No Comments

There are a number of mailing lists and discussion groups and spaces for MQTT now, so I thought it might be useful to quickly summarise the main ones – and clarify what they are for.

Users of all of the lists are generally very friendly and can help you to navigate between them, but I just thought it would be useful to explain the “main purpose” of each group. Discussions are not limited to mailing lists and happen on Twitter, in IRC, and across the web. We try to follow as many of them as possible! There’s an additional list on the Community page.

For more about MQTT and the relationship to Eclipse, check our wiki page MQTT at Eclipse. For more on mosquitto, check out that project’s excellent website!