kafka.conf 318 B

123456789
  1. start on started zookeeper-ZK_PORT
  2. stop on stopping zookeeper-ZK_PORT
  3. # Use a script instead of exec (using env stanza leaks KAFKA_HEAP_OPTS from zookeeper)
  4. script
  5. sleep 2
  6. export KAFKA_HEAP_OPTS="-Xmx320m"
  7. exec /opt/kafka-KAFKAID/bin/kafka-server-start.sh /opt/kafka-KAFKAID/config/server.properties
  8. end script