MQTT Message Queuing Telemetry Transport Protocol

In this article I describe the MQTT Message Queuing Telemetry Transport Protocol in computer network related to CCNA Exam. Message Queuing Telemetry Transport Protocol used to provide the publish-subscription service between the client and service provider. Message Queuing Telemetry Transport Protocol is an open source of OASIS network protocol which runs on TCP/IP network. MQTT Protocol supported by many TCP/IP network protocols. MQTT Protocol works on the physical instruments which are connected in a TCP/IP network or internet.

The Message Queuing Telemetry Transport Protocol initially used first time by the IBM company in 1999. The devices which are used for Message Queuing Telemetry Transport Protocol provides the notification to the user relate to the services. Suppose a service provider want to send an information to all the subscriber then Message Queuing Telemetry Transport Protocol can be used to notify all the subscriber. Simply we can say the Message Queuing Telemetry Transport Protocol is a publish and subscribe model protocol which works on low bandwidth in a TCP/IP network or internet.

MQTT Message Queuing Telemetry Transport Protocol Architecture

There are two entities in MQTT Message Queuing Telemetry Transport Protocol message broker and clients. Here the message broker is a server which float the messages of clients. The broker server received the message from clients and forward to the relevant destination clients. The clients may be an electronic device or smart phone. The client is connected with the broker server via a computer network or internet.

You may also like to read --  MCQ for TCP IP set 3

The process of data flow works in a hierarchy. When a client want to send a message to other clients. Firstly the message forwarded to the broker server. The broker server received the message and analyze it. After analysis the message forwarded to all related clients. If there are no any subscribers relevent to the message the broker server drop the message. The broker server works like a post office for the clients. All the message relayed through the broker server.

Function of Broker server in MQTT Message Queuing Telemetry Transport Protocol

The broker uses multiple control messages a control message may be of 2 bytes to 256 MB in size. The broker uses 14 types of control messages which provide the feature to connect, disconnect, transmit data and the acknowledge message data etc. The broder send and receive the messages on TCP/IP network. Since the TCP is reliable and no chance of missing any part of the message. The MQTT Protocol uses port number 8883 for secure communication and port number 1883 for unsecure communication like HTTP and HTTPS.

MQTT Message Queuing Telemetry Transport Protocol explained.

MQTT Message Queuing Telemetry Transport Protocol is an application layer protocol in TCP/IP model. The MQTT is publish-subscribe-based messaging protocol. MQTT Protocol designed to use very low band width. MQTT Protocol is responsible of confirmation of delivery of message. Mostly mobile applications use MQTT protocol to send error or status of any operation.

You may also like to read --  TCP/IP Suite model basic concepts

MQTT Protocol use port 1883 by default. For secure messaging by using SSL, MQTT used the port number 8883. MQTT is secure protocol security handle by SSL like HTTPS protocol. Sometime application provides additional security like password protected email.

Specifications of MQTT Message Queuing Telemetry Transport Protocol

Better Error Reporting is one of most important features of MQTT protocol. If any error occurs MQTT report about the error immediately. Message expiry option delete the message if not delivered in the pre-defined time. Session expiry feature checks whether a client is connected in a predefined time. Similarly, more other functions also used for MQTT Protocol.

MQTT Message Queuing Telemetry Transport , ccna, ccna tutorials

Basic tems related to MQTT Message Queuing Telemetry Transport Protocol

MQTT system is like a client communicate with a server. Here broker is a server. Client may be a subscriber for any service. Client can connect to the broker. When a publisher wants to send something to its subscribers. Publisher sends a message to the broker. The broker receives the new message and sent it to all clients subscribed to related publisher. The publisher doesn’t’ required to maintain any data of his subscribers. Broker maintain the subscriber of any publisher. The data sending to subscribers involves MQTT Protocol.

Working of MQTT Message Queuing Telemetry Transport Protocol

The minimum size of message should be of 2 bytes. The maximum size of control message can be up to 256 Mb. There is some pre-defined message used to make communication between client and broker. These pre-defined messages used like command and response between the client and broker. Some example of predefined message is Connect, disconnect, publish, at most once and at least once etc.

MQTT Message Queuing Telemetry Transport , ccna, ccna tutorials

Example of MQTT Message Queuing Telemetry Transport Protocol applications

Mostly messenger used MQTT Message Queuing Telemetry Transport Protocol for online chatting. When a user subscribes for news later of any website, it became a client of the publisher. Now every time when the publisher publishes any new data, the broker sends the message to the subscriber. Facebook messenger, amazon subscription is example of service run on MQTT.

You may also like to read --  Configuring and verifying IPv6 addressing

In this article I describe the Message Queuing Telemetry Transport Protocol in computer networking for CCNA exam. I hope you found this article helpful. For any query or suggestion you may drop a comment below or contact us. Your suggestions are always welcome by us.

Share this article in your social circle :)
, ,

Leave a Reply

Your email address will not be published. Required fields are marked *