简体   繁体   English

Mosquitto 动态桥接

[英]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?我想知道你们中是否有人尝试过这个 - https://github.com/eclipse/mosquitto/pull/535/files Mosquitto 工作正常,但是这个主题要发送什么有效负载? - $SYS/broker/bridge/new I am unable to implement dynamic bridging, please help me out. - $SYS/broker/bridge/new 我无法实现动态桥接,请帮帮我。

The message should be the same as the bridge configuration you would include in the mosquitto.conf file.该消息应该与您将包含在mosquitto.conf文件中的网桥配置相同。 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.但从表面上看,此功能尚未合并到 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.关于链接拉取请求的最后一条评论暗示它仅适用于 1.5.4 而不适用于最新的 1.6.x 代码库。

I did see comment by the author on pull request 635 .我确实看到了作者对pull request 635 的评论

Dynamic bridges was working with version 1.6.10 and he has initiated a request for latest release as well. Dynamic bridges 使用 1.6.10 版本,他也发起了最新版本的请求。

GitHub repository GitHub 存储库

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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