rocketmq-spring
rocketmq-spring copied to clipboard
determine whether the application consumes according to the parameters
有这样一个需求: 在 spring boot 项目中,我想通过 yml 配置文件控制消费 listener 是否启用,即:增加参数 rocketmq.enabled = false,时 stop consumer ,我应该怎么做?

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