[ https://issues.apache.org/jira/browse/KAFKA-2049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15060623#comment-15060623 ]
Gwen Shapira commented on KAFKA-2049: ------------------------------------- It is embarrassing, since I created this ticket, but I can't remember why I thought we need it. Java has a GC log that is enabled for Kafka by default... > 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)