我使用蚊子作为我的经纪人服务器。我想根据桥接连接建立一个经纪人集群。Mosquitto MQTT循环订阅
当我发布并订阅主题“存在”时,我从三个代理服务器得到了无尽的重复消息。
我有三个服务器,如: 10.80.1.1,10.80.1.2
和我具有用于每个服务器的以下配置。
on server 10.80.1.1, the config as the following:
connection myconn
address 10.80.1.2:1881
topiC# both
cleansession true
try_private false
bridge_attempt_unsubscribe false
notifications false
allow_anonymous true
start_type automatic
clientid Bridge3
on server 10.80.1.2, the config as the following:
connection myconn
address 10.80.1.1:1883
topiC# both
cleansession true
try_private false
bridge_attempt_unsubscribe false
notifications false
allow_anonymous true
start_type automatic
clientid Bridge2
谁能帮我解决这个问题。
尽管我在添加try_private true –