RockteMQ-AI commented on issue #692: URL: https://github.com/apache/rocketmq-spring/issues/692#issuecomment-5216253708
**Issue Evaluation** Category: `bug` | Status: **Confirmed** This is a version compatibility issue. The `AsyncTraceDispatcher` constructor signature changed between RocketMQ client versions — the `batchNum` parameter was added in newer versions of `rocketmq-client`, but the `rocketmq-spring` code in `RocketMQUtil#createDefaultMQProducer` was not updated to pass this parameter. **Root Cause:** Version mismatch between `rocketmq-spring-boot-starter` and the underlying `rocketmq-client` dependency. **Workaround:** Align your `rocketmq-client` version with what your `rocketmq-spring-boot-starter` version expects. Check the dependency tree: ``` mvn dependency:tree -Dincludes=org.apache.rocketmq ``` **Impact:** Compilation failure when using mismatched versions. **Severity:** Medium — affects builds with version misalignment. --- *Automated evaluation by @RockteMQ-AI* -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
