update: nb组件产品上 qos=0
parent
d5d1bf966f
commit
0e1dd0ebad
|
@ -215,7 +215,7 @@ public class NBVerticle extends AbstractVerticle {
|
|||
throw new BizException(ErrCode.SEND_DESTINATION_NOT_FOUND);
|
||||
}
|
||||
Future<Integer> result = endpoint.publish(topic, msg,
|
||||
MqttQoS.AT_LEAST_ONCE, false, false);
|
||||
MqttQoS.AT_MOST_ONCE, false, false);
|
||||
result.onFailure(e -> log.error("public topic failed", e));
|
||||
result.onSuccess(integer -> log.info("publish success,topic:{},payload:{}", topic, msg));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue