EhsanAmiryousefi opened a new pull request #5593:
URL: https://github.com/apache/camel/pull/5593


   Ticket: https://issues.apache.org/jira/browse/CAMEL-16640 . 
   
   It is about the plain camel-kafka component as in 3.10. The changes which 
have been added for this ticket: 
https://issues.apache.org/jira/browse/CAMEL-14980 are causing this problem.
   
   In KafkaConsumer class in the run() method if the thread is sleeping and an 
Interrupted Exception occurs, then the thread will leave the loop, which is 
fine. But, if before the thread enters the sleeping, something happens then the 
thread will remain running without caring about the stopping state(Zombie 
Thread). 
   
   In the doPollRun() method, the retry flag is set to false only when the 
consumer wakeup method throws an exception which  causes the thread again to 
keep running in the loop without stopping which leaves the thread to be zombie. 


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