luoguangyi 2 роки тому
батько
коміт
8b74e56004

+ 1 - 0
src/main/resources/application-64dev.yml

@@ -64,6 +64,7 @@ spring:
       #listner负责ack,每调用一次,就立即commit
       ack-mode: manual_immediate
       missing-topics-fatal: false
+      type: batch
     properties:
       ssl.endpoint.identification.algorithm:
 iot:

+ 1 - 0
src/main/resources/application-aliyun.yml

@@ -68,6 +68,7 @@ spring:
       #listner负责ack,每调用一次,就立即commit
       ack-mode: manual_immediate
       missing-topics-fatal: false
+      type: batch
     properties:
       ssl.endpoint.identification.algorithm:
       sasl:

+ 2 - 1
src/main/resources/application-zs-ioc.yml

@@ -66,6 +66,7 @@ spring:
       #listner负责ack,每调用一次,就立即commit
       ack-mode: manual_immediate
       missing-topics-fatal: false
+      type: batch
     properties:
       ssl.endpoint.identification.algorithm:
 iot:
@@ -74,7 +75,7 @@ iot:
     # 程序部署位置类型,部署在云端一侧的,需要设置cloud为true,edge为false,需要更改
     cloud: false
     # 程序部署位置类型,部署在边缘端一侧的,需要设置cloud为false,edge为true,需要更改
-    edge: false
+    edge: true
   server:
     #同原来iot-collect中的util.xml配置,用于部署在需要更改edge边缘端给iot-project通讯使用,需要更改
     collect: