配置更新
This commit is contained in:
parent
b5ced35050
commit
307d56054e
@ -129,7 +129,6 @@ public class MqttHandler extends ChannelInboundHandlerAdapter {
|
|||||||
kafkaProducer.send("msg_lyy_rpt", result);
|
kafkaProducer.send("msg_lyy_rpt", result);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
log.info("处理MQTT消息 - 主题: {}, 内容: {}", topic, content);
|
|
||||||
if (topic.startsWith("sensor/")) {
|
if (topic.startsWith("sensor/")) {
|
||||||
handleSensorData(topic, content);
|
handleSensorData(topic, content);
|
||||||
} else if (topic.startsWith("control/")) {
|
} else if (topic.startsWith("control/")) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user