-
Hello, I have a question regrading VerneMQ configuration. Per documentation here. The online one is set to -1 in our case which means that we do not have any limits on the incoming messages and the offline messages is set to 20000 which limits the number of QOS1 and 2 to 20000 messages. In our case this means that if the MQTT connector remains offline for an amount of time enough to accumulate more than 20K messages in the queue, when the connector reconnects MQTT will drop the excess number of messages resulting in a loss of data. As such we need to understand if Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hello, It is a per queue setting (that can be overwritten in auth_on_register, if needed, iirc). Please also note that the message drop does not happen when the client reconnects, but already when adding to the message queue. |
Beta Was this translation helpful? Give feedback.
-
The Usually
|
Beta Was this translation helpful? Give feedback.
-
Thank you both guys! Very much appreciate the help. @ioolkos It is very much related cause its on our options of enabling! 👍 |
Beta Was this translation helpful? Give feedback.
Hello,
It is a per queue setting (that can be overwritten in auth_on_register, if needed, iirc). Please also note that the message drop does not happen when the client reconnects, but already when adding to the message queue.