mosquitto配置桥接Bridge
Bridge配置
在mosquitto的配置文件中加入以下内容,配置用户名、密码和需要转发的topic
需要保证的是用户名、密码正确并有正确的读写权限。
connection bridge_0
address xxx.xxx.xxx.xxx:1883
topic # both 2
#topic test/topic/# both 2
remote_username <user>
remote_password <password>
参考资料
https://blog.csdn.net/weixin\_45673552/article/details/102379265
https://www.cnblogs.com/zhenqichai/p/mosquitto-bridge-configuration.html
https://segmentfault.com/a/1190000042461477/en
https://www.stackhero.io/en/services/Mosquitto/documentations/Bridges
感谢扫码支持

