MQTT (Message Queue Telemetry Transport) is a messaging protocol designed for M2M and IoT connectivity that was invented in 1999. It uses TCP/IP ports 1883 and 8883 and allows clients to publish messages to topics that other clients subscribe to. MQTT defines control packets for connecting, publishing, subscribing, and other operations between clients and a central broker server.