MQTT Clean Sessions and QOS Examples

When a client connects to a broker it can connect using either a non persistent connection (clean session) or a persistent connection.. With a non persistent connection the broker doesn’t store any subscription information or undelivered messages for the client. This mode is ideal when the client only publishes messages. It can also connect as a durable client using a persistent connection.

Continue reading