From 157c26f5188c7ed62a4547f7e3b5a5a3e3ed7729 Mon Sep 17 00:00:00 2001
From: ‘liusuyi’ <1951119284@qq.com>
Date: 星期日, 08 十月 2023 09:40:47 +0800
Subject: [PATCH] 优化mqtt生产者取消消费者订阅

---
 src/main/resources/application-dev.yml |   30 +++++++++++++++++-------------
 1 files changed, 17 insertions(+), 13 deletions(-)

diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml
index bbc7292..a7b1837 100644
--- a/src/main/resources/application-dev.yml
+++ b/src/main/resources/application-dev.yml
@@ -9,13 +9,12 @@
       max-file-size: 30MB
       max-request-size: 30MB
   datasource:
-      #  浣跨敤druid鏁版嵁搴撹繛鎺ユ睜
     druid:
-        #寮�鍚痙ruid鐩戞帶web
+      #寮�鍚痙ruid鐩戞帶web
       stat-view-servlet:
         enabled: true
       driver-class-name: org.postgresql.Driver
-      url: jdbc:postgresql://192.168.1.15:5432/ry-vue?stringtype=unspecified
+      url: jdbc:postgresql://192.168.2.15:5432/ry-vue
       username: postgres
       password: postgres
       #鏈�澶ц繛鎺ユ暟
@@ -39,32 +38,37 @@
       enabled: true
   # mqtt閰嶇疆
   mqtt:
-    host: tcp://192.168.1.15:1883
-    clientId: cc3
+    host: tcp://192.168.2.15:1883
+    clientId: client-227
     username: admin
-    password: xzx12345
-    topic: tube
+    password: admin
     timeout: 100
     keepalive: 60
     enabled: true
   # 鐩楃數鎺ュ彛鍦板潃
   stealelec:
+    enabled: true
     url: http://iot.zhdk.net:8090/Warning/GetWarning?userName=cy4oil
+  # 涓夊巶鏁板瓧鍖栧湴鍧�
+  digitization3:
+    enabled: true
   # minio閰嶇疆
   minio:
-    endpoint: http://192.168.1.15:9001
+    endpoint: http://192.168.2.15:9001
     accessKey: admin
     secretKey: xzx12345
-# mybatis閰嶇疆
-mybatis:
-  typeAliasesPackage: com.ard.alarm.**.domain
-  mapperLocations: classpath:/mapper/*.xml
+# mybatis-plus閰嶇疆
+mybatis-plus:
+  type-aliases-package: com.ard.alarm.**.domain
+  mapper-locations: classpath:/mapper/*.xml
 # 鏃ュ織绛夌骇閰嶇疆
 logging:
   level:
-    hikSdk: debug
+    hikSdk: info
     mqtt: info
     netty: info
     external: info
     camera: info
     tube: info
+    digitization3: info
+    stealAlarm: info

--
Gitblit v1.9.3