From fc1e4c8264ee6c1c62653a5b181587ae0ac53077 Mon Sep 17 00:00:00 2001
From: jiazx0107@163.com <jiazx0107@163.com>
Date: 星期三, 08 十一月 2023 19:49:24 +0800
Subject: [PATCH] 提交粮情测试协议和流程-添加气象
---
src/main/resources/application-devGateway.yml | 34 ++++++++++++++++++++++------------
1 files changed, 22 insertions(+), 12 deletions(-)
diff --git a/src/main/resources/application-devGateway.yml b/src/main/resources/application-devGateway.yml
index e6029e2..f46809d 100644
--- a/src/main/resources/application-devGateway.yml
+++ b/src/main/resources/application-devGateway.yml
@@ -48,8 +48,15 @@
timeout: 6000
kafka:
bootstrap-servers: 103.203.217.16:9092
+ producer:
+ retries: 0
+ acks: 1
+ batch-size: 16384
+ buffer-memory: 33554432
+ key-serializer: org.apache.kafka.common.serialization.StringSerializer
+ value-serializer: org.apache.kafka.common.serialization.StringSerializer
properties:
- security.protocol: sasl_plaintext
+ security.protocol: SASL_PLAINTEXT
sasl.mechanism: PLAIN
sasl.username: sc001
sasl.password: wCV0ISwmoKwbx1lpBKMW
@@ -62,14 +69,17 @@
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: pwdmqtt..
+ client-outId: fzzy-customer-id
+ client-inId: fzzy-6e3d92ff71b911eea5e50250f2000002
+ 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