oss-sentinel-ai commented on issue #762: URL: https://github.com/apache/rocketmq-spring/issues/762#issuecomment-4666041833
## Issue Evaluation **Type:** Bug / Performance Issue **Category:** Resource Management **Priority:** Medium ### Assessment Valid performance concern in `rocketmq-v5-client-spring-boot`. Each `RocketMQMessageListener` creates 2 × CPU cores threads via `ClientImpl` initialization. With 30 listeners on a 12-core CPU, ~720 threads are created. ### Impact - Excessive thread count and memory consumption - Thread scheduling overhead - Potential resource exhaustion ✅ **Accepted** — Thread pool should be shared across listeners or made configurable. **Suggested approaches:** 1. Share thread pool across `ClientImpl` instances 2. Make thread pool size configurable per listener 3. Implement thread pool reuse strategy --- *🤖 Automated evaluation by oss-sentinel-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]
