You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Oleg Golovin (JIRA)" <ji...@apache.org> on 2014/12/02 15:41:12 UTC

[jira] [Created] (KAFKA-1804) Kafka network thread lacks top exception handler

Oleg Golovin created KAFKA-1804:
-----------------------------------

             Summary: Kafka network thread lacks top exception handler
                 Key: KAFKA-1804
                 URL: https://issues.apache.org/jira/browse/KAFKA-1804
             Project: Kafka
          Issue Type: Bug
            Reporter: Oleg Golovin


We have faced the problem that some kafka network threads may fail, so that jstack attached to Kafka process showed fewer threads than we had defined in our Kafka configuration. This leads to API requests processed by this thread getting stuck unresponed.

There were no error messages in the log regarding thread failure.

We have examined Kafka code to find out there is no top try-catch block in the network thread code, which could at least log possible errors.

Could you add top-level try-catch block for the network thread, which should recover network thread in case of exception?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)