apache / rocketmq-spring

Apache RocketMQ Spring Integration
https://rocketmq.apache.org/
Apache License 2.0
2.09k stars 894 forks source link

Fix RocketMQMessageListener TOPIC_PLACEHOLDER #659

Closed drpmma closed 3 months ago

drpmma commented 3 months ago

What is the purpose of the change

The TOPIC_PLACEHOLDER value should be topic rather than endpoints

https://github.com/apache/rocketmq-spring/blob/9f1bc791955f81bb061c301340ae5f79a6fd0a57/rocketmq-v5-client-spring-boot/src/main/java/org/apache/rocketmq/client/annotation/RocketMQMessageListener.java#L33

Brief changelog

Set TOPIC_PLACEHOLDER to "${rocketmq.push-consumer.topic:}"

LetLetMe commented 3 months ago

perfect