Message Queue Telemetry Transport (MQTT)
This blog gives you a basic idea to know about MQTT. We will see all features, all unique functionality, and everything you need to know to apply the MQTT knowledge to your concrete project.
You’re going to learn what is MQTT, we see about the basic concepts like publish-subscribe client and broker and all the components you need. We will see about operations like connecting, how this works, how do publish-subscribe works on a packet level, how do pings work, and so on. We will see about features like retained messages, quality or service levels, last will testament, and persistent sessions.
What is MQTT?
MQTT is a client-server/publish-subscribe messaging transport protocol. It is lightweight, open, simple, and designed. So, as to be easy to implement these characteristics make it ideal for use in many situations including constrained environments such as for communication machine to machine and internet of things context where a small code footprint is required and or network bandwidth is at a premium. So, you see this is really designed for the internet of things for connecting anything over the internet or in machine-to-machine scenarios.
History of MQTT
MQTT was invented in 1999. In 2010, it was made available royalty-free which means the proprietary MQTT protocol was made open by IBM and others and they basically allowed people to implement it.
In 2012, the first mosquito broker version which is one of the more popular MQTT brokers out there was released in version 1.0 and this was huge because mosquito is open source and this really allowed MQTT to get a huge success and industry standard.
In 2013, then invented HiveMQ. HiveMQ is a broker used for commercial and professional settings and a lot of fortune 500 companies as well as small and large projects rely on it.
In 2014, MQTT 3.1.1 was officially released by the OASIS technical committee, where IBM, CISCO, and others worktogether to released an official standard based on the MQTT specification it was released in 2010 and this is now also an ISO standard which means it’s broadly available and it’s a certified standard in the industry.
In 2018, MQTT5 was officially released by OASIS and now this is one of the more popular protocols but chances are if you are using MQTT today you’re still using MQTT 3.1.1.
Also Read: What Is IoT Framework? Best Open Source IoT Framework
Be the first to comment