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/04/24 16:51:44 UTC

[GitHub] [rocketmq-spring] learnku opened a new issue, #453: 根据参数决定应用是否进行消费

learnku opened a new issue, #453:
URL: https://github.com/apache/rocketmq-spring/issues/453

   有这样一个需求:
   在 spring boot 项目中,我想通过 yml 配置文件控制消费 listener 是否启用,即:增加参数 rocketmq.enabled = false,关闭  stop consumer ,我应该怎么做?
   
   ![1650818824(1)](https://user-images.githubusercontent.com/39984893/164987344-1db3a3af-2892-4d84-a192-0d79180e2561.jpg)
   


-- 
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.apache.org

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


[GitHub] [rocketmq-spring] zhouhai22 commented on issue #453: 根据参数决定应用是否进行消费

Posted by GitBox <gi...@apache.org>.
zhouhai22 commented on issue #453:
URL: https://github.com/apache/rocketmq-spring/issues/453#issuecomment-1120785062

   rocketmq.listeners.group.topic=false can help, replcae group, topic to your own.


-- 
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