From f6312ffbcecc25fa6e4e677e84775acd7bf143b4 Mon Sep 17 00:00:00 2001 From: GuanYuankai Date: Tue, 21 Oct 2025 05:43:15 +0000 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E4=BD=BF=E7=94=A8host?= =?UTF-8?q?=E7=BD=91=E7=BB=9C=E5=90=8E=EF=BC=8C=E4=B8=BB=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E8=BF=9E=E6=8E=A5mqtt=E7=BD=91=E7=BB=9C?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 0a46d63..6154af2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -63,7 +63,7 @@ int main(int argc, char* argv[]) { try { DataCache data_cache; LiveDataCache live_data_cache; - MqttClient mqtt_client("tcp://mqtt-broker:1883", "edge-proxy-main-client"); + MqttClient mqtt_client("tcp://localhost:1883", "edge-proxy-main-client"); auto report_to_mqtt = [&](const UnifiedData& data) { // 使用 DataStorage 单例存储处理后的 UnifiedData 对象 if (DataStorage::getInstance().storeProcessedData(data)) {