Disappearing Mosquitto 1.6.0 MQTT bridge messages [message #1806089] |
Thu, 02 May 2019 12:49 |
Eirik Hansen Messages: 1 Registered: May 2019 |
Junior Member |
|
|
When using Mosquitto v1.14 as a local bridge all messages sent to it are forwarded to a cloud mosquitto broker v1.6 and received by a mqtt client there. This happens even if i shut down the cloud VM that is hosting the cloud mosquitto broker for days. When using v1.6 as the local bridge, some messages disappear when trying to catch up after lost communications.
Messages posted to the local bridge are QoS 1.
Tried running Mosquitto as Admin. Same problem.
The config file used for the local bridge is identical for the two versions:
max_inflight_messages 1
max_queued_messages 1209600
persistence true
log_dest file D:\Downloads\mos1.14\mos32.log
log_type error
log_type warning
log_type notice
log_type information
log_type all
connection_messages true
connection hzm-cloud-bridge
bridge_protocol_version mqttv311
address 35.204.237.242:1883
cleansession false
topic # out 1 "" ""
remote_clientid broker1
The config file for the remote broker:
persistence_file persist.db
max_inflight_messages 1
max_queued_messages 10000000
persistence true
log_dest stdout
log_type error
log_type warning
log_type notice
log_type information
log_type all
connection_messages true
Have also tried v1.5.8 as local bridge. Same problem.
Any idea why the latest versions of Mosquitto are dropping messages?
|
|
|
Powered by
FUDForum. Page generated in 0.02656 seconds