RockteMQ-AI commented on issue #678:
URL:
https://github.com/apache/rocketmq-spring/issues/678#issuecomment-5223767723
**Issue Evaluation**
Category: `question` | Status: **Answered**
Consumer thread pool size in `rocketmq-spring-boot-starter` is configured
via `@RocketMQMessageListener` annotation attributes:
- `consumeThreadMin` — minimum consumer threads (default: 1)
- `consumeThreadMax` — maximum consumer threads (default: 64)
Example:
```java
@RocketMQMessageListener(
topic = "my-topic",
consumerGroup = "my-group",
consumeThreadMin = 5,
consumeThreadMax = 20
)
```
These map to the underlying `DefaultMQPushConsumer` thread pool settings.
---
*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]