修改共享订阅组
This commit is contained in:
parent
f4820b809f
commit
b7825ab099
|
|
@ -73,7 +73,7 @@ public class DjiService {
|
|||
.autoReconnect(mqttProperties.getAutoReconnect())
|
||||
.cleanSession(mqttProperties.getCleanSession())
|
||||
.useSharedSubscription(true)
|
||||
.sharedGroupName("dji-group")
|
||||
.sharedGroupName("dji-server-group")
|
||||
.build();
|
||||
|
||||
// 创建客户端
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue