ifplusor commented on issue #18: ShutdownPushConsumer is wrong URL: https://github.com/apache/rocketmq-client-python/issues/18#issuecomment-449610212 我是 contos 7.5 的 docker 环境。 PyShutdownPushConsumer 调用 ShutdownPushConsumer -> DefaultMQPushConsumer::shutdown -> ConsumeMessageConcurrentlyService::shutdown -> ConsumeMessageConcurrentlyService->stopThreadPool -> m_threadpool.join_all(),如果 python 回调尚未返回,就会发生阻塞。而此时 C 执行流持有 GIL 未释放,导致回调执行流无法获取到 GIL 继续执行,在 GIL 上出现死锁。
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on 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
