Conference
Meet EMQ at SPS 2026: Real-Time Data for Industrial AI →

Blog - MQTT - Page 7

Explore the blog

Introduction to MQTT Message Expiry Interval | MQTT 5 Features

The Message Expiry Interval is a new feature introduced in MQTT 5.0, which allows the publisher to set an expiry interval for time-sensitive messages.

· EMQX TeamMQTT

MQTT 5.0 Packet Explained 06: AUTH

To achieve the Enhanced Authentication, MQTT introduced the AUTH packet to implement any number of authentication data exchanges, to support various types of authentication mechanisms, such as SCRAM, Kerberos authentication, and so on.

· EMQX TeamMQTT

MQTT 5.0 Packet Explained 05: DISCONNECT

In MQTT, both the client and the server can send a DISCONNECT packet to the other party before disconnecting the network connection, indicating the reason for the connection closure.

· EMQX TeamMQTT

MQTT 5.0 Packet Explained 04: PINGREQ & PINGRESP

MQTT has a type of packet used to simulate heartbeats between the client and server to maintain the connection. They are PINGREQ and PINGRESP packets, which we often call heartbeat packets.

· EMQX TeamMQTT

MQTT 5.0 Packet Explained 03: SUBSCRIBE & UNSUBSCRIBE

In MQTT, the SUBSCRIBE packet is used to initiate a subscription request, while the SUBACK packet is used to return the subscription result. The UNSUBSCRIBE and UNSUBACK packets are used when unsubscribing.

· EMQX TeamMQTT

MQTT 5.0 Packet Explained 02: PUBLISH & PUBACK

This blog will introduces the PUBLISH packet used to deliver application messages in MQTT, and its response packets.

· EMQX TeamMQTT

RabbitMQ vs Kafka: 5 Key Differences & Leading Use Cases

RabbitMQ is an open-source message-broker software that transmits data between applications and services. Kafka is an open-source distributed message streaming platform.

· JaylinMQTT

MQTT 5.0 Packet Explained 01: CONNECT & CONNACK

MQTT connection requires CONNECT and CONNACK packets. CONNECT initiates the request and server responds with CONNACK indicating connection result.

· EMQX TeamMQTT

Explore New Features of MQTT 5.0: Usage Examples Based on MQTTX CLI

This blog will introduce each new feature introduced in 5.0 in turn, and use the MQTTX CLI tool to demonstrate how we can use these features in EMQX.

· MQTTX TeamProduct

Using MQTT in Unity with M2MqttUnity Library: A Step-by-Step Guide

This blog provides a simple Unity3d project for using M2MQTT with Unity. The project includes an example scene with a user interface for managing the connection to the broker and testing messaging.

· EMQX TeamMQTT

JWT Authentication and JWKS Endpoint in MQTT: Principle and a Hands-on Guide

This article will introduce the basic principles of Token-Based Authentication based on JWT, and how to build your own JWKS Endpoint.

· EMQX TeamMQTT

MQTT vs AMQP for IoT Communications: Head to Head

MQTT (Message Queuing Telemetry Transport), is a lightweight publish/subscribe messaging protocol. AMQP (Advanced Message Queuing Protocol), is a protocol for distributed systems that supports a range of messaging patterns

· EMQX TeamMQTT