I. INTRODUCTION
In early 1999, during the transform of machine to machine communication
MQTT was invented by Dr Andy Stanford-Clark of IBM, and Arlen Nipper of
Arcom (now Eurotech) [1]. As the generation of computers evolved so
did the demand for communication. Advances in the field of networking
led to invention of MQTT.
MQTT (Message Queuing Telemetry Transport) is a communication protocol
at the application layer. MQTT is widely used especially for IoT
applications since it’s a light weight protocol. It is claimed to be
lightweight since it consumes very less bandwidth and battery loss is
less. This makes it to be more suitable for IoT applications as IoT
applications mostly involves with communication between small sensors
and mini CPU like devices.
Unlike HTTP which works with request & response this MQTT works with
publish-subscribe based messaging protocol. The publish-subscribe
messaging pattern requires a message broker. The MQTT server is usually
referred to as the broker. There are various types of MQTT broker like
Mosquitto, HiveMqtt, Mosca, cloudMQTT, MQTT.Js.