【发布时间】:2017-06-08 09:25:20
【问题描述】:
nodejs 中的这个 mqtt-connection 模块是做什么用的?这是否意味着有了这个 mqtt-connection,我们就不需要任何代理了? mqtt-connection
【问题讨论】:
nodejs 中的这个 mqtt-connection 模块是做什么用的?这是否意味着有了这个 mqtt-connection,我们就不需要任何代理了? mqtt-connection
【问题讨论】:
您确实可以创建一个侦听 MQTT 的新服务器并使用客户端版本连接到它。
例如,您可以运行具有以下架构的快速应用程序
-server
- server.js //Start your server here
-app
- your client views and controllers go here
但是,如果您打算设置大型应用程序,我强烈建议您使用 Mosquito 或 ActiveMQ 等代理。
【讨论】: