提交 ad1ca2dc 编写于 作者: hebao@lab.ibiz5.com's avatar hebao@lab.ibiz5.com

test

上级 f70ebd51
...@@ -37,5 +37,4 @@ rocketmq: ...@@ -37,5 +37,4 @@ rocketmq:
groupName: ${spring.application.name} groupName: ${spring.application.name}
namesrvAddr: 172.16.170.163:9876 namesrvAddr: 172.16.170.163:9876
topics: DSTMSG~* topics: DSTMSG~*
consumeThreadMin: 5
consumeMessageBatchMaxSize: 1 consumeMessageBatchMaxSize: 1
...@@ -25,9 +25,9 @@ public class MQConsumerConfigure { ...@@ -25,9 +25,9 @@ public class MQConsumerConfigure {
@Value("${rocketmq.consumer.topics:}") @Value("${rocketmq.consumer.topics:}")
private String topics; private String topics;
// 消费者线程数据量 // 消费者线程数据量
@Value("${rocketmq.consumer.consumeThreadMin: 5}") @Value("${rocketmq.consumer.consumeThreadMin: 1}")
private Integer consumeThreadMin; private Integer consumeThreadMin;
@Value("${rocketmq.consumer.consumeThreadMax: 32}") @Value("${rocketmq.consumer.consumeThreadMax: 1}")
private Integer consumeThreadMax; private Integer consumeThreadMax;
@Value("${rocketmq.consumer.consumeMessageBatchMaxSize: 1}") @Value("${rocketmq.consumer.consumeMessageBatchMaxSize: 1}")
private Integer consumeMessageBatchMaxSize; private Integer consumeMessageBatchMaxSize;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册