Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't remove KAFKA_PROPERTIES_FILE; allow user to use mounted file #502

Merged
merged 8 commits into from
Apr 7, 2023
2 changes: 1 addition & 1 deletion src/main/docker/kafdrop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if [ "$KAFKA_PROPERTIES" != "" ]; then
echo Writing Kafka properties into $KAFKA_PROPERTIES_FILE
echo "$KAFKA_PROPERTIES" | base64 --decode --ignore-garbage > $KAFKA_PROPERTIES_FILE
else
rm $KAFKA_PROPERTIES_FILE |& > /dev/null | true
if [ -f $KAFKA_PROPERTIES_FILE ]; then touch $KAFKA_PROPERTIES_FILE; else rm -f $KAFKA_PROPERTIES_FILE; fi
brsolomon-deloitte marked this conversation as resolved.
Show resolved Hide resolved
fi

KAFKA_TRUSTSTORE_FILE=${KAFKA_TRUSTSTORE_FILE:-kafka.truststore.jks}
Expand Down