We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5f2eaa commit 7742d76Copy full SHA for 7742d76
start-kafka.sh
@@ -26,7 +26,7 @@ if [[ -z "$KAFKA_ADVERTISED_PORT" && \
26
-z "$KAFKA_LISTENERS" && \
27
-z "$KAFKA_ADVERTISED_LISTENERS" && \
28
-S /var/run/docker.sock ]]; then
29
- KAFKA_ADVERTISED_PORT=$(docker port "$(hostname)" $KAFKA_PORT | sed -r 's/.*:(.*)/\1/g') | head -n1
+ KAFKA_ADVERTISED_PORT=$(docker port "$(hostname)" $KAFKA_PORT | sed -r 's/.*:(.*)/\1/g' | head -n1)
30
export KAFKA_ADVERTISED_PORT
31
fi
32
0 commit comments