简体   繁体   中英

Mosquitto-Dynamic Bridging

I wanted to know if any of you have tried this - https://github.com/eclipse/mosquitto/pull/535/files Mosquitto is working fine but what payload to be sent with this topic? - $SYS/broker/bridge/new I am unable to implement dynamic bridging, please help me out.

The message should be the same as the bridge configuration you would include in the mosquitto.conf file. You can see where the tool builds the message in the patch linked to the pull request here

connection [name]
address [address]:[port]
topic [pattern] [direction] [qos] [local prefix] [remote prefix]

But by the look of things this functionality has not been merged into the release branch of mosquitto. The last comment on the linked pull request implies that it only works up to 1.5.4 and not on the latest 1.6.x code base.

I did see comment by the author on pull request 635 .

Dynamic bridges was working with version 1.6.10 and he has initiated a request for latest release as well.

GitHub repository

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM