Mosquitto bridge not receiving messages when sending a lot of msgs

75 Views Asked by At

My local MQTT broker (Mosquitto) will not receive message from the remote one once I am sending a lot of msgs (ros laserscans and costmaps). It is important for the messages to be received from the remote broker, it is OK to lose or delay msgs send to the remote broker.

Protocol: mqttv5

I can receive msgs with no problem from the remote until i begin sending data.

Is there a setting a can change to help with my problem

My config:

connection remote-broker
address {address:port}
topic data/# out 0 "" remoter/namespace/
topic data/debug_control in 1 "" remoter/namespace/
cleansession false
notifications false
remote_clientid Testing
remote_password {username}
remote_username {password}
start_type automatic
try_private true
bridge_cafile {user_cafile}
bridge_insecure false
bridge_certfile {user_certfile}
bridge_keyfile {user_keyfile}
bridge_protocol_version mqttv50

I have tried both QOS 0,1 and 2. to no help

I have tried settings max_inflight_bytes and max_queued_bytes but this didn't seem to help, set to around 2megabytes

0

There are 0 best solutions below