From 814b453961763bf1b60af85f9f3bdc4682659ae8 Mon Sep 17 00:00:00 2001
From: jiazx0107@163.com <jiazx0107@163.com>
Date: 星期一, 15 一月 2024 20:28:54 +0800
Subject: [PATCH] 添加手动推送粮情接口,以便第三方接口调用
---
src/main/resources/application-devGateway.yml | 23 +++++++++++++----------
1 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/src/main/resources/application-devGateway.yml b/src/main/resources/application-devGateway.yml
index 09d7b84..7ba4ef8 100644
--- a/src/main/resources/application-devGateway.yml
+++ b/src/main/resources/application-devGateway.yml
@@ -12,7 +12,6 @@
#娆℃暟鎹簮
secondary:
url: jdbc:mysql://127.0.0.1:3306/igds_5012?useUnicode=true&useSSL=false&characterEncoding=utf-8
-
username: root
password: Abc123..
driver-class-name: com.mysql.jdbc.Driver
@@ -46,8 +45,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 +71,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