You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/07/15 05:33:48 UTC

[GitHub] [rocketmq-spring] HappyDoyourself commented on issue #351: Is it needed to separate producer and consumer in RocketMQAutoConfiguration

HappyDoyourself commented on issue #351:
URL: https://github.com/apache/rocketmq-spring/issues/351#issuecomment-1185190820

   > > 如果代码中没有实现RocketMQMessageListener 的annotation,是不会创建RocketMQListenerContainer的。
   > 
   > 我现在是同一个项目同一套代码部署在两个集群,一个集群服务客户端http请求,一个集群专门处理后台脚本包括消息队列的消费者, 第一个集群我是不希望消费者启动过的,但是我找不到方法在第一个集群关掉consumer的 listener
   
   这个解决了吗?我现在也遇到了这样的问题。springboot在启动时候回先去消费,而不是启动成功后再去消费。如果有大量的堆积mq,启动时候发现会特别慢。就是因为mq堆积导致在启动过程中先去消费造成的。


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org