rocknsm / rock

Automated deployment scripts for the RockNSM network hunting distribution.

Home Page:http://rocknsm.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GC log setting in environment file breaks Kafka

kwbyron opened this issue · comments

commented

In the environment file for Kafka's service (/etc/sysconfig/kafka), GC logging is set with the line "KAFKA_GC_LOG_OPTS=-Xlog:gc:/var/log/kafka/kafkaServer-gc.log -Xlog:gc*" which breaks Kafka with unknown settings.

Removing the ":" and the second setting to read as
"KAFKA_GC_LOG_OPTS=-Xloggc:/var/log/kafka/kafkaServer-gc.log" seems to fix it.

@kwbyron are you able to explain how this becomes broken? latest version of Rock doesn't appear to have this issue with Kafka not working - but I may be misunderstanding you.

fixed using java 11