Uploaded image for project: 'Apache RocketMQ'
  1. Apache RocketMQ
  2. ROCKETMQ-341

Thread leak ( PullMessageServiceScheduledThread ) in PullMessageService

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.0.0-incubating
    • None
    • rocketmq-client
    • None

    Description

      new pushConsumer and subscribe to one topic, and make it listen to the KILL signal, which will trigger the shutdown of the pushConsumer. When I send KILL signal and pushConsumer call the shutdown. Then I found, the client doesn't quit, and there is a non-deamon thread named PullMessageServiceScheduledThread is still there.
      Then I find the name in rocketmq source, find it's a ScheduledExecutorService in PullMessageService. And there isn't any relevant implementation for close it.

      Attachments

        Activity

          People

            vintagewang Xiaorui Wang
            superheizai superheizai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: