You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2020/06/29 08:06:47 UTC

[GitHub] [kafka] prgitpr opened a new pull request #8945: To avoid potential dead loop in KafkaConsumerProducerDemo

prgitpr opened a new pull request #8945:
URL: https://github.com/apache/kafka/pull/8945


   To avoid potential  dead loop in  KafkaConsumerProducerDemo
     
   Motivation:
   
   If  main throws InterruptedException  After consumerThread start  , the  consumerThread  will not  shutdown  .
   
   Modification:
   
   Place latch.await(5, TimeUnit.MINUTES) in the try-finally block.
   
   Result:
   
   Advoid potential dead loop.
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [kafka] prgitpr closed pull request #8945: To avoid potential dead loop in KafkaConsumerProducerDemo

Posted by GitBox <gi...@apache.org>.
prgitpr closed pull request #8945:
URL: https://github.com/apache/kafka/pull/8945


   


----------------------------------------------------------------
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:
users@infra.apache.org