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

Start scripts without ./bin and .sh, config mount at /etc/kafka #10

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

solsson
Copy link
Owner

@solsson solsson commented Jul 26, 2017

This is inspired by the Confluent Platform images. Without this change, users of the image would settle for the ./bin and ./config conventions. Mounted config would sit at /opt/kafka/config or chose a path such as /etc/kafka AND set KAFKA_LOG4J_OPTS to for example -D/etc/kafka/log4j.properties.

This fix will not use any additional space if we restore the symlinks from before 72b35da and move the RUN into the kafka installation step.

@solsson
Copy link
Owner Author

solsson commented Jul 26, 2017

Explains the log4j.properties gotcha quite well: https://stackoverflow.com/questions/43823833/kafka-with-server-properties-not-picking-log4j

solsson added a commit to Yolean/kubernetes-kafka that referenced this pull request Jul 26, 2017
you must use /opt/kafka/config, due to how log4j.properites
(sometimes tools- or connect-) are resolved by the ./bin scripts.

See solsson/dockerfiles#10
@solsson solsson force-pushed the workdir-agnostic-bin branch from 9fe838d to 67b5dea Compare July 26, 2017 04:21
@solsson solsson changed the base branch from kafka-011-debian to master July 26, 2017 04:22
solsson added a commit to Yolean/kubernetes-kafka that referenced this pull request Jul 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant