apache / apache/rocketmq-spring

determine whether the application consumes according to the parameters

Open
#453 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Java
Stars
2.3k
Forks
943
PR merge metrics
No merged PRs in 30d

Description

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

![1650818824(1)](https://user-images.githubusercontent.com/39984893/164987344-1db3a3af-2892-4d84-a192-0d79180e2561.jpg)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.