MQTT Buffering Published Messages

Find and share HowTos to various installations / configurations!
3 posts • Page 1 of 1
shokkul
Posts:37
Joined: Mon Feb 25, 2019 8:50 am

MQTT Buffering Published Messages

Post by shokkul »

Hello

We are using MQTT to feed some data into broker and we are using it as publisher. I read the help page and I set QoS level to 1 and select "Persistent session" from settings. However, when broker or subscriber is disconnected, messages are lost. In WinCC OA How mqtt client manager buffer not sent messages? What are the rules about it? If it is possible that manager is bufferin, which settings should I open?

Thanks

kilianvp
Posts:443
Joined: Fri Jan 16, 2015 10:29 am

Re: MQTT Buffering Published Messages

Post by kilianvp »

Hello

The messages to send should be saved as long as the MQTT driver has no connection? Thats not possible.

gschijndel
Posts:376
Joined: Tue Jan 15, 2019 3:12 pm

Re: MQTT Buffering Published Messages

Post by gschijndel »

You could set the retain flag at the address config to let the broker know it should keep the last message of the topic.

3 posts • Page 1 of 1