Skip to content

Instantly share code, notes, and snippets.

@AutomationD
Forked from ralph-tice/kafka.conf
Created May 3, 2016 22:16
Show Gist options
  • Save AutomationD/56599141761b7d3853d696b184d026d0 to your computer and use it in GitHub Desktop.
Save AutomationD/56599141761b7d3853d696b184d026d0 to your computer and use it in GitHub Desktop.
[program:kafka]
command = /usr/local/kafka/bin/kafka-run-class.sh -name kafkaServer -loggc kafka.Kafka /usr/local/kafka/config/server.properties
stopwaitsecs = 60
redirect_stderr = true
stdout_logfile = /var/log/kafka/kafka-stdout.log
stdout_logfile_maxbytes = 0
stdout_logfile_backups = 0
stopasgroup=true
environment =
JAVA_HOME="/usr/java/default",
KAFKA_LOG4J_OPTS="-Dlog4j.configuration=file:/usr/local/kafka/bin/../config/log4j.properties",
KAFKA_HEAP_OPTS="-Xms5G -Xmx5G",
KAFKA_JVM_PERFORMANCE_OPTS="-XX:PermSize=48m -XX:MaxPermSize=48m -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35",
KAFKA_JMX_OPTS="-Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.local.only=false",
JMX_PORT="9992"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment