Configuration items | Description |
Enable retained messages | Whether to enable retained messages. tip When retained messages are disabled, existing retained messages will not be deleted. |
Storage type | Storage type is fixed as built-in database. |
Storage method | Retained message storage method.
|
Maximum number of retained messages | The upper limit on the number of retained messages. The default is unlimited (0). After setting a limit for the maximum number of retained messages, MQTT will replace existing messages when the limit is reached, and you will not be able to store retained messages for new topics once the limit has been reached. |
Maximum message payload size | The maximum payload size for retained messages. If the payload exceeds the maximum value, MQTT will treat the retained message as a regular message. |
Message expiration interval | Expiration time for retained messages. By default, messages never expire (0). If the message expiration interval is set in the PUBLISH packet, the expiration time in the PUBLISH packet takes precedence. |
Message cleanup interval | The interval for cleaning expired messages. Disabled by default. |
Dispatch rate | Maximum dispatch rate for retained messages. |