rocketmq的5.2.0版本,顺序消费线程数consumeThreadMax问题 #8461
Answered
by
liuwei178
zhl19911203
asked this question in
Q&A
-
rocketmq的5.2.0版本,使用rocketmq-spring-boot-starter2.3.0版本,消费者类@RocketMQMessageListener注解如果设置为顺序消费,那么consumeThreadMax和consumeThreadNumber参数需要限制为1吗,还是使用默认值就可以了 |
Beta Was this translation helpful? Give feedback.
Answered by
liuwei178
Aug 12, 2024
Replies: 1 comment 1 reply
-
不需要限制,顺序消费是由MQ控制消息的可见性,和consumer的线程没关系的,是两回事 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
zhl19911203
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
不需要限制,顺序消费是由MQ控制消息的可见性,和consumer的线程没关系的,是两回事