You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [[ -n "$KAFKA_HEAP_OPTS" ]]; then
sed -r -i 's/(export KAFKA_HEAP_OPTS)="(.*)"/\1="'"$KAFKA_HEAP_OPTS"'"/g' "$KAFKA_HOME/bin/kafka-server-start.sh"
unset KAFKA_HEAP_OPTS
fi
Since the official script kafka-server-start.sh already checks and well handles the environment variable KAFKA_HEAP_OPTS, the block above is redundant. I think it should be removed.
The text was updated successfully, but these errors were encountered:
Since the official script
kafka-server-start.sh
already checks and well handles the environment variableKAFKA_HEAP_OPTS
, the block above is redundant. I think it should be removed.The text was updated successfully, but these errors were encountered: