kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Hoagland (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-4249) Document how to customize GC logging options for broker
Date Tue, 04 Oct 2016 16:00:23 GMT
Jim Hoagland created KAFKA-4249:

             Summary: Document how to customize GC logging options for broker
                 Key: KAFKA-4249
                 URL: https://issues.apache.org/jira/browse/KAFKA-4249
             Project: Kafka
          Issue Type: Improvement
          Components: documentation
    Affects Versions:
            Reporter: Jim Hoagland

We wanted to enable GC logging for Kafka broker and saw that you can set GC_LOG_ENABLED=true.
 However, this didn't do what we wanted.  For example, the GC log will be overwritten every
time the broker gets restarted.  It wasn't clear how we could do that (no documentation of
it that I can find), so I did some research by looking at the source code and did some testing
and found that KAFKA_GC_LOG_OPTS could be set with alternate JVM options prior to starting
broker.  I posted my solution to StackOverflow:
(feel free to critique)

That solution is now public, but it seems like the Kafka documentation should say how to do

This message was sent by Atlassian JIRA

View raw message