You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by amethystic <gi...@git.apache.org> on 2017/02/20 02:29:29 UTC

[GitHub] kafka pull request #2576: kafka-4767: KafkaProducer is not joining its IO th...

GitHub user amethystic opened a pull request:

    https://github.com/apache/kafka/pull/2576

    kafka-4767: KafkaProducer is not joining its IO thread properly

    KafkaProducer#close swallows the InterruptedException which might be acceptable when it's invoked from within the main thread or user is extending Thread and therefore control all the code higher up on the call stack. For other cases, it'd better retstore the interupted status after capturing the exception.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/amethystic/kafka kafka-4767_KafkaProducer_not_joining_IO_thread

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/2576.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2576
    
----
commit d10417802d58d4282fe4a39377e38df1a6d4a7db
Author: huxi <hu...@zhenrongbao.com>
Date:   2017-02-20T02:27:27Z

    kafka-4767: KafkaProducer is not joining its IO thread properly
    
    KafkaProducer#close swallows the InterruptedException which might be acceptable when it's invoked from within the main thread or user is extending Thread and therefore control all the code higher up on the call stack. For other cases, it'd better retstore the interupted status after capturing the exception.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] kafka pull request #2576: kafka-4767: KafkaProducer is not joining its IO th...

Posted by amethystic <gi...@git.apache.org>.
Github user amethystic closed the pull request at:

    https://github.com/apache/kafka/pull/2576


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---