@@ -51,9 +51,7 @@ spring:
listener:
simple:
prefetch: 1
- max-concurrency: 10
- acknowledge-mode: manual #开启消费者手动确认
- direct:
+ max-concurrency: 2
acknowledge-mode: manual #开启消费者手动确认
#开启消息投递确认机制
publisher-confirm-type: correlated
@@ -32,7 +32,6 @@ server:
file:
path: /mnt/${project.name}_data/
spring:
-spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
dynamic: