You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by GitBox <gi...@apache.org> on 2023/01/13 05:33:59 UTC

[GitHub] [rocketmq] ShadowySpirits opened a new issue, #5876: Fix resource leak in DefaultLitePullConsumerTest

ShadowySpirits opened a new issue, #5876:
URL: https://github.com/apache/rocketmq/issues/5876

   Currently, there are many IllegalStateException in the test log. This is because the MQClientInstance created in DefaultLitePullConsumerTest is not destroyed.
   
   ```
   03:28:59.891 [MQClientFactoryScheduledThread] ERROR o.a.r.c.i.c.DefaultLitePullConsumerImpl - Persist consumer offset error for group: LitePullConsumerGroup1673580414539 
   java.lang.IllegalStateException: The consumer not running, please start it first.
   	at org.apache.rocketmq.client.impl.consumer.DefaultLitePullConsumerImpl.checkServiceState(DefaultLitePullConsumerImpl.java:205)
   	at org.apache.rocketmq.client.impl.consumer.DefaultLitePullConsumerImpl.persistConsumerOffset(DefaultLitePullConsumerImpl.java:1115)
   	at org.apache.rocketmq.client.impl.factory.MQClientInstance.persistAllConsumerOffset(MQClientInstance.java:479)
   	at org.apache.rocketmq.client.impl.factory.MQClientInstance.lambda$startScheduledTask$5(MQClientInstance.java:310)
   	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
   	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
   	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:750)
   
   ```


-- 
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: commits-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] RongtongJin closed issue #5876: Fix resource leak in DefaultLitePullConsumerTest

Posted by "RongtongJin (via GitHub)" <gi...@apache.org>.
RongtongJin closed issue #5876: Fix resource leak in DefaultLitePullConsumerTest
URL: https://github.com/apache/rocketmq/issues/5876


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org