You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/09/05 03:26:02 UTC
[jira] [Created] (KAFKA-5833) Reset thread interrupt state in case
of InterruptedException
Ted Yu created KAFKA-5833:
-----------------------------
Summary: Reset thread interrupt state in case of InterruptedException
Key: KAFKA-5833
URL: https://issues.apache.org/jira/browse/KAFKA-5833
Project: Kafka
Issue Type: Bug
Reporter: Ted Yu
There are some places where InterruptedException is caught but thread interrupt state is not reset.
e.g. from WorkerSourceTask#execute() :
{code}
} catch (InterruptedException e) {
// Ignore and allow to exit.
{code}
Proper way of handling InterruptedException is to reset thread interrupt state.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)