[ https://issues.apache.org/jira/browse/KAFKA-5833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16170849#comment-16170849 ]
ASF GitHub Bot commented on KAFKA-5833: --------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/kafka/pull/3841 > 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 > Components: streams > Reporter: Ted Yu > Assignee: Matthias J. Sax > Labels: newbie++ > Fix For: 1.0.0 > > > 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)