Skip to content

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