Two Kafka Tips

TO change the heap options in KAFKA Set on the commandline or edit kafka-env.sh on CDP or IOP Add KAFKA_HEAP_OPTS=”-Xmx64G -XMs64G” From IBM, Running with IBM JVM To resolve this issue: Edit the <kafka_home>/bin-kafka-run-class.sh file. Locate the following line: KAFKA_GC_LOG_OPTS=”-Xloggc:$LOG_DIR/$GC_LOG_FILE_NAME -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps” To enable verbose logging, change it to: KAFKA_GC_LOG_OPTS=”-Xverbosegclog:$LOG_DIR/$GC_LOG_FILE_NAME -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps […]