Affects Version/s: 0.8.2.0
Fix Version/s: 0.10.1.0
KAFKA-1127 the following line was added to kafka-server-start.sh:
This prevents gc logging from being disabled without some unusual environment variable workarounds.
I suggest EXTRA_ARGS is made overridable like below:
Note: I am also not sure I understand why the existing code uses the "x" thing when checking the variable instead of the following:
This lets the variable be overridden to "" without taking the default.
Workaround: As a workaround the user should be able to set $KAFKA_GC_LOG_OPTS to fit their needs. Since kafka-run-class.sh will not ignore the -loggc parameter if that is set.