From 97c75a868e9fca03598dfa862bdd7ad94fd5fdcb Mon Sep 17 00:00:00 2001 From: jiazx0107@163.com <jiazx0107@163.com> Date: 星期四, 09 十一月 2023 00:54:08 +0800 Subject: [PATCH] 调整MQTT --- 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..4774c3a 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: pwdmqtt.. + client-id: fzzy-customer-igds-api + timeout: 10 + keep-alive-interval: 20 + max-connect-times: 5 + qos: 0 isOpen: false + default: + topic: testTopic + topics: "/+/+/properties/report,/device-message-sender/+/+" \ No newline at end of file -- Gitblit v1.9.3