Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能否支持监听MqConsumer里面新增 最小和最大线程数配置,支持单机并发消费 #31

Open
programmer-luxw opened this issue Feb 12, 2025 · 0 comments

Comments

@programmer-luxw
Copy link

是否支持像RabbitMQ ,设置每个消费者的并发数量,来实现多线程消费。比如在 Spring Boot 集成中可以通过 SimpleRabbitListenerContainerFactory 来配置最小和最大的消费者并发数。目前XXL-MQ单机单个服务的消费者只能进行单线程消费,速度太慢了。如果在消费者里面添加线程池,就会导致MQ里面的消息快速的掉到线程池的队列里面,这种不友好。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant