chathoward712-cpu commented on issue #747:
URL:
https://github.com/apache/rocketmq-spring/issues/747#issuecomment-3677511266
现在是通过注解上的配置 @RocketMQMessageListener(topic = "demo-topic", consumerGroup
= "demo-group")
可以将上面的demo-topic配置到application.yml 获取
@RocketMQMessageListener(
topic = "${rocketmq.consumer.demo-topic}",
consumerGroup = "${rocketmq.consumer.demo-group}"
)
application.yml
rocketmq:
consumer:
demo-topic: demo-topic-from-yml
demo-group: demo-group-from-yml
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]