chwii commented on issue #224: Is it possible to create consumer that subscribe 
to certain topic on the fly?
URL: https://github.com/apache/rocketmq-spring/issues/224#issuecomment-575964021
 
 
   @xiangwangcheng
   Of course I read the consumer demo before I open this issue, unfortunately 
they didn't meet my needs because I have no idea what topic I should subscribe 
to in coding phase(actually I do but topics can be added dynamically).
   What I want to implement here is to create consumer and register 
listener(different `onMessage` logic maybe) on method invocation instead of 
hard-coded classes like the demo.
   With rocketmq-client I can just wrap the creation logic like my snippet and 
can call `create(args)`  in case of topic addition. Dose this make sense to you?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to