francisoliverlee opened a new issue, #535:
URL: https://github.com/apache/rocketmq-spring/issues/535
for now , one consumer can sub one topic by @RocketMQMessageListener
```
@Service
@RocketMQMessageListener(topic = "${demo.rocketmq.topic}", consumerGroup =
"string_consumer", selectorExpression = "${demo.rocketmq.tag}", tlsEnable =
"${demo.rocketmq.tlsEnable}")
public class StringConsumer implements RocketMQListener<String> {
@Override
public void onMessage(String message) {
System.out.printf("------- StringConsumer received: %s \n", message);
}
}
```
i tried two consumer class sub one topic, only one topic works and found why
:
<img width="1472" alt="image"
src="https://user-images.githubusercontent.com/5908412/222380218-c31df065-6451-452f-ad9f-01d9be2c76ba.png">
hope to support more than one topic for consumers
--
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]