|
@@ -158,6 +158,7 @@ public class MqttDataConnector {
|
|
|
//消费者断开连接后是否接受离线消息
|
|
|
mqttMessage.setRetained(true);
|
|
|
mqttClient.publish(publicLiveTopic,mqttMessage);
|
|
|
+ logger.info("topic:{} send content {} ",publicLiveTopic,data);
|
|
|
logger.info("topic:{} send dataSize {}kb ",publicLiveTopic,data.length()/1024.0);
|
|
|
|
|
|
}
|