From d454e51e06dbf7beb50551588fc58a5810295d7c Mon Sep 17 00:00:00 2001
From: jiazx0107@163.com <jiazx0107@163.com>
Date: 星期一, 01 一月 2024 19:28:22 +0800
Subject: [PATCH] 调整KFKA数据推送测试。
---
src/main/resources/application-devGateway.yml | 22 +++++++++++++---------
1 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/src/main/resources/application-devGateway.yml b/src/main/resources/application-devGateway.yml
index 09d7b84..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
@@ -70,13 +72,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