修改共享订阅组

This commit is contained in:
孙小云 2026-03-24 10:38:12 +08:00
parent f4820b809f
commit b7825ab099
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ public class DjiService {
.autoReconnect(mqttProperties.getAutoReconnect())
.cleanSession(mqttProperties.getCleanSession())
.useSharedSubscription(true)
.sharedGroupName("dji-group")
.sharedGroupName("dji-server-group")
.build();
// 创建客户端

View File

@ -97,7 +97,7 @@ public class TuohengService {
.autoReconnect(mqttProperties.getAutoReconnect())
.cleanSession(mqttProperties.getCleanSession())
.useSharedSubscription(true)
.sharedGroupName("tuoheng-group")
.sharedGroupName("tuoheng-server-group")
.build();
clientManager.initClient(config);