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

Dynamic Listener configuration for Kubernetes deployment and fixing java core dumping for AMR64 #643

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

Conversation

mmohamed
Copy link

  • For ARM64 arch, switching base image from 'openjdk:8u212-jre-alpine' to 'openjdk:8u201-jre-alpine' to prevent container core dump @see issue.
  • For K8S deployment, add a 'KAFKA_LISTENERS_COMMAND' environment parameter to build 'KAFKA_LISTENERS' on fly (to use pod hostname when container started) @see start_kafka.sh
if [[ -n "$KAFKA_LISTENERS_COMMAND" ]]; then
    KAFKA_LISTENERS=$(eval "$KAFKA_LISTENERS_COMMAND")
    export KAFKA_LISTENERS
    unset KAFKA_LISTENERS_COMMAND
fi

…LISTENERS' on fly, for Kubernetes, using pod hostname when container started for example.
@michalkowol
Copy link

After this change, Kafka works perfectly on Apple Macbook Pro M1.
Great work @mmohamed :)

@mmohamed
Copy link
Author

After this change, Kafka works perfectly on Apple Macbook Pro M1.
Great work @mmohamed :)

You're welcome @michalkowol :)

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.

2 participants