xiangyang-gao removed a comment on issue #2737:
URL: https://github.com/apache/rocketmq/issues/2737#issuecomment-803813847


   > 吧
   我上个悬挂的思路表达有误。链接在没关系
   
   悬挂拉取消息的请求,去延时去拉取
   
   > @xiangyang-gao 如果链接都不想要了,那么 rocketmq 的 client 也相当于停止了, 为什么不重新 `new 
DefaultMQPushConsumer()` 呢? 线程不存在了, 任务其实已经算停止了吧;
   
   你说的思路是没问题的。
   我这里场景有停服/不停服,进行上线,下线。
   比如我在容器里实例化好的对象new DefaultMQPushConsumer(),如果有可能采用stop。
   从api角度上来讲 更简单些,更实用。


-- 
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]


Reply via email to