From 715f40da0c953ec0080ccf056f9d759c3a249ea0 Mon Sep 17 00:00:00 2001
From: jiazx0107@163.com <jiazx0107@163.com>
Date: 星期五, 10 十一月 2023 01:37:12 +0800
Subject: [PATCH] 重新调整代码结构和实现方式2,注意设备中的上行协议调整

---
 src/main/resources/application-devGateway.yml |   20 +++++++++++---------
 1 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/src/main/resources/application-devGateway.yml b/src/main/resources/application-devGateway.yml
index 09d7b84..473ed3c 100644
--- a/src/main/resources/application-devGateway.yml
+++ b/src/main/resources/application-devGateway.yml
@@ -70,13 +70,15 @@
       value-deserializer: org.apache.kafka.common.serialization.StringDeserializer
 
   mqtt:
-    host: tcp://10.13.4.84:11883
-    client-id:
-    client-username: admin
-    client-password: 123456
-    client-timeout: 10
-    client-alive-time: 20
-    client-max-connect-times: 5
-    client-topics: "/device/${productId}/${deviceId}/message/property/report,/device-message-sender/${productId}/${deviceId}"
-    client-qos: 0
+    host: tcp://127.0.0.1:1883
+    username: admin
+    password: admin123321
+    client-inId: fzzy_client_id_in_igds_api
+    client-outId: fzzy_client_id_out_igds_api
+    completionTimeout: 3000
+    keep-alive-interval: 2
+    max-connect-times: 5
+    qos: 0
     isOpen: false
+    default-topic: mqtt/+/test1
+    topics: /device-message-sender/#
\ No newline at end of file

--
Gitblit v1.9.3