The Messaging Queuing Telemetry Transport Protocol (MQTT) is a publish/subscribe message protocol developed for low-bandwidth networks and high-latency IoT devices (delay in data transmission). This communications protocol is simple and lightweight, making it ideal for devices and networks with limited bandwidth, high latency, or insecure networks. It is intended to minimise network bandwidth and device resource needs while still ensuring supply security. Furthermore, since battery life and bandwidth are critical for IoT or M2M devices, these concepts are advantageous. MQTT may be used to monitor or control a vast volume of data since it is efficient and lightweight. MQTT is being utilised in a wide range of sectors, including automotive, manufacturing, telecommunications, and oil & gas. Publishes are data sources that transmit data to subjects. The subjects are managed by the broker, and customers subscribe to them. When the broker receives data on a subject from the publisher, it distributes it to all subscribers. As a consequence, brokers are in charge of collecting data from publishers and distributing it to the relevant customers.