diff --git a/README.md b/README.md index d9b66edf..2e511c2e 100755 --- a/README.md +++ b/README.md @@ -200,6 +200,11 @@ http://iotkit-open-source.gitee.io/document/ ![输入图片说明](doc/ma.png) +#### 开源生态 + +1. [mybatis-plus版数据服务](https://gitee.com/openiot/iotkit-parent-mybatis)(直接替换iot-data-serviceImpl-rdb就能从jpa切换成mybatis-plus) + + ### 项目规划 见:《[开源项目管理](https://open-iita.feishu.cn/base/G4owbWqkbaoI0LsYVnWcreXVnnc)》 diff --git a/iot-components/iot-nb-component/src/main/java/cc/iotkit/comp/nb/NBVerticle.java b/iot-components/iot-nb-component/src/main/java/cc/iotkit/comp/nb/NBVerticle.java index f3523f42..6f025c31 100644 --- a/iot-components/iot-nb-component/src/main/java/cc/iotkit/comp/nb/NBVerticle.java +++ b/iot-components/iot-nb-component/src/main/java/cc/iotkit/comp/nb/NBVerticle.java @@ -215,7 +215,7 @@ public class NBVerticle extends AbstractVerticle { throw new BizException(ErrCode.SEND_DESTINATION_NOT_FOUND); } Future 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)); }