apache / rocketmq-spring

Apache RocketMQ Spring Integration
https://rocketmq.apache.org/
Apache License 2.0
2.09k stars 894 forks source link

consumeThreadMin can't be larger than consumeThreadMax,在前面注解处理器中是否可以做兜底校验 #673

Open dxt1218 opened 1 month ago

dxt1218 commented 1 month ago

The issue tracker is ONLY used for bug report and feature request.

Any question or RocketMQ proposal please use our mailing lists.

BUG REPORT

  1. Please describe the issue you observed:

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?

dxt1218 commented 1 month ago

另外我们项目中希望能用到消息轨迹的功能,但是高版本在注解上做了默认false,是不是可以类似producer, 有个统一配置性质的的属性值。例如 :producer 的rocketmq.producer.enable-msg-trace。有个 rocketmq.consume.enable-msg-trace ? 感觉高版本没有考虑到用户已用的习惯兼容。