Closed 12bchl closed 1 year ago
https://github.com/eclipse/paho.mqtt.golang/blob/e3fa5031fa86ee9233dfebd71a1879f6b2b813b4/client.go#L759
How does the message get persisted in store if we return right away before persistOutbound?
They dont; Qos0 messages are dropped if there is no connection (only qos1+ messages have any delivery guarantees).
Understood, just confused on the comment. NP
You are right - the comment is wrong!
https://github.com/eclipse/paho.mqtt.golang/blob/e3fa5031fa86ee9233dfebd71a1879f6b2b813b4/client.go#L759
How does the message get persisted in store if we return right away before persistOutbound?