From 50da1f165cc96d49d72694606920b77c74e1747c Mon Sep 17 00:00:00 2001 From: jiazx0107@163.com <jiazx0107@163.com> Date: 星期四, 04 一月 2024 10:57:26 +0800 Subject: [PATCH] 调整KFKA数据推送测试2 --- src/main/resources/application-devGateway.yml | 27 +++++++++++++++------------ 1 files changed, 15 insertions(+), 12 deletions(-) diff --git a/src/main/resources/application-devGateway.yml b/src/main/resources/application-devGateway.yml index cc2c8df..3d07a98 100644 --- a/src/main/resources/application-devGateway.yml +++ b/src/main/resources/application-devGateway.yml @@ -46,8 +46,10 @@ max-idle: 10 min-idle: 0 timeout: 6000 + kafka: bootstrap-servers: 103.203.217.16:9092 + enabled: false producer: retries: 0 acks: 1 @@ -69,15 +71,16 @@ key-deserializer: org.apache.kafka.common.serialization.StringDeserializer value-deserializer: org.apache.kafka.common.serialization.StringDeserializer - -mqtt: - host: tcp://10.13.4.84:11883 - client-id: - client-username: - client-password: - client-timeout: 10 - client-alive-time: 20 - client-max-connect-times: 5 - client-topics: - client-qos: 0 - isOpen: false + mqtt: + 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