Merge branch 'dev-V0.4.5' into dev-V0.4.5-postgre
commit
77eb944b70
|
@ -200,6 +200,11 @@ http://iotkit-open-source.gitee.io/document/
|
||||||
![输入图片说明](doc/ma.png)
|
![输入图片说明](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)》
|
见:《[开源项目管理](https://open-iita.feishu.cn/base/G4owbWqkbaoI0LsYVnWcreXVnnc)》
|
||||||
|
|
|
@ -215,7 +215,7 @@ public class NBVerticle extends AbstractVerticle {
|
||||||
throw new BizException(ErrCode.SEND_DESTINATION_NOT_FOUND);
|
throw new BizException(ErrCode.SEND_DESTINATION_NOT_FOUND);
|
||||||
}
|
}
|
||||||
Future<Integer> result = endpoint.publish(topic, msg,
|
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.onFailure(e -> log.error("public topic failed", e));
|
||||||
result.onSuccess(integer -> log.info("publish success,topic:{},payload:{}", topic, msg));
|
result.onSuccess(integer -> log.info("publish success,topic:{},payload:{}", topic, msg));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue