In MQTT, a topic enables the filtering of messages. A hierarchical structure separated by slashes (/) is used.
Examples:
In MQTT, the QoS level determines the reliability of message delivery.
The Retain feature ensures that messages are stored on the broker and forwarded to newly connected clients.
Example: If a temperature value is sent with Retain, all clients newly connecting to this topic can see that value.
To clear a Retain message, an empty message with `retain true` must be sent.