apache / apache/rocketmq-spring
consumeThreadMin can't be larger than consumeThreadMax,在前面注解处理器中是否可以做兜底校验
- Dominant language
- Java
- Stars
- 2.3k
- Forks
- 943
- PR merge metrics
- No merged PRs in 30d
Description
The issue tracker is **ONLY** used for bug report and feature request.
Any question or RocketMQ proposal please use our [mailing lists](http://rocketmq.apache.org/about/contact/).
**BUG REPORT**
1. Please describe the issue you observed:
- What did you do (The steps to reproduce)?
我项目在从 rocketmq-spring:2.1.1 升级到 rocketmq-spring:2.3.0的过程
- What did you expect to see?
发现一些项目消费者启动失败
Caused by: org.apache.rocketmq.client.exception.MQClientException: consumeThreadMin (20) is larger than consumeThreadMax (1)


**rocketmq-spring:2.1.1项目中的代码是有做兜底的**

- What did you see instead?
项目正常的启动
2. Please tell us about your environment:
rocketmq-spring:2.3.0 jdk8 rocketmq-clinet:5.2.0
3. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):
**FEATURE REQUEST**
1. Please describe the feature you are requesting.
以往可以平滑兼容低版本的代码,不然我需要将项目上的注解都要做 consumeThreadNumber字段的声明,
或者代码上将 int consumeThreadNumber() default 1; 默认值为1也好。
2. Provide any additional detail on your proposed use case for this feature.
3. Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.