Commit 4c8fb185 authored by litengwei's avatar litengwei

问题修改

parent bb556e23
...@@ -355,8 +355,10 @@ public class MqttReceiveServiceImpl implements MqttReceiveService { ...@@ -355,8 +355,10 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
jsonObjectXf.put("data", jsonObjects); jsonObjectXf.put("data", jsonObjects);
try { try {
emqKeeper.getMqttClient().publish("eqm.xf.created",jsonObjectXf.toString().getBytes(),1,false); emqKeeper.getMqttClient().publish("emq.xf.created",jsonObjectXf.toString().getBytes(),1,false);
log.info("遥测遥信数据推送云端kafka成功");
} catch (MqttException e) { } catch (MqttException e) {
log.error("遥测遥信数据推送云端kafka失败=====>" + e.getMessage());
e.printStackTrace(); e.printStackTrace();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment