apache / rocketmq-mqtt

Apache rocketmq
https://rocketmq.apache.org/
Apache License 2.0
181 stars 63 forks source link

rocket-mqtt部置在多台服务器上,如何配置接入实现负载均衡 #224

Closed vinnyyou closed 3 months ago

vinnyyou commented 10 months ago

共用一个rocketmq集群,rocketmq-mqtt部署在多台服务器上,每台rocketmq-mqtt设置相同的first topic, 不同的 notify topic,设备接入不同的rocketmq-mqtt服务器,这样是否行?

DongyuanPan commented 10 months ago

If different notification topics are configured, then each rocketmq-mqtt event notification will be independent, and they will appear to be independent clusters. Even if the same first topic is set, there will be problems. It is recommended to use traditional load balancing to implement load balancing of mqtt service.

wljin321 commented 10 months ago

If different notification topics are configured, then each rocketmq-mqtt event notification will be independent, and they will appear to be independent clusters. Even if the same first topic is set, there will be problems. It is recommended to use traditional load balancing to implement load balancing of mqtt service.

Hi,这个 notification topics 是在哪配置的呀? @DongyuanPan