You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do however observe that the regular connection check ping is sent every x seconds, depending on what the user configured. What I would expect is however to only send the ping x seconds after the last mqtt message was received. This would make more sense, because there is no need to check the connection when you just received a message.
The regular connection check somehow destabilized our connection when we had a lot of throughput. So we had to completely disable it.
The text was updated successfully, but these errors were encountered:
I see what your saying but the MQTT spec differs , section 3.1.2.10 Keep Alive -
The Keep Alive is a time interval measured in seconds. Expressed as a 16-bit word, it is the maximum time interval
that is permitted to elapse between the point at which the Client finishes transmitting one Control Packet and the
point it starts sending the next. It is the responsibility of the Client to ensure that the interval between Control
Packets being sent does not exceed the Keep Alive value. In the absence of sending any other Control Packets, the
Client MUST send a PINGREQ Packet
Keep alive is a function of transmission from the client, not reception from the broker.
Keep alive is not mandatory, in high traffic scenarios where your client receives many publish messages from the broker it may make more sense for you to manage this, i.e. if there is no reception of a publish message for x period of time you know something is wrong in your use case. Other use cases of course differ.
First of all, thank you for the amazing package.
I do however observe that the regular connection check ping is sent every x seconds, depending on what the user configured. What I would expect is however to only send the ping x seconds after the last mqtt message was received. This would make more sense, because there is no need to check the connection when you just received a message.
The regular connection check somehow destabilized our connection when we had a lot of throughput. So we had to completely disable it.
The text was updated successfully, but these errors were encountered: