Gwen Shapira created KAFKA-2049:
-----------------------------------

             Summary: Add thread that detects JVM pauses
                 Key: KAFKA-2049
                 URL: https://issues.apache.org/jira/browse/KAFKA-2049
             Project: Kafka
          Issue Type: Improvement
            Reporter: Gwen Shapira
            Assignee: Gwen Shapira


Long JVM pauses can cause Kafka malfunctions (especially when interacting with 
ZK) that can be challenging to debug.

I propose implementing HADOOP-9618 in Kafka:
Add a simple thread which loops on 1-second sleeps, and if the sleep ever takes 
significantly longer than 1 second, log a WARN. This will make GC pauses (and 
other pauses) obvious in logs.



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

Reply via email to