- Comment out advertised.listeners kafka config entry.
This commit is contained in:
parent
9539df8d80
commit
57434545bf
@ -58,7 +58,8 @@ RUN urpmi --force wget
|
|||||||
&& mkdir -p $( dirname ${KAFKA_HOME}) \
|
&& mkdir -p $( dirname ${KAFKA_HOME}) \
|
||||||
&& wget -q -O- ${KAFKA_DOWNLOAD_URL} | tar xzf - -C $( dirname ${KAFKA_HOME}) \
|
&& wget -q -O- ${KAFKA_DOWNLOAD_URL} | tar xzf - -C $( dirname ${KAFKA_HOME}) \
|
||||||
&& mv ${KAFKA_HOME}* ${KAFKA_HOME} \
|
&& mv ${KAFKA_HOME}* ${KAFKA_HOME} \
|
||||||
&& sed -i "s%^log.dirs=/tmp/kraft-combined-logs%log.dirs=${KAFKA_LIB}%" ${KAFKA_CONFIG} \
|
&& sed -i "s%^advertised.listeners=%#advertised.listeners=%" ${KAFKA_CONFIG} \
|
||||||
|
&& sed -i "s%^log.dirs=/tmp/kraft-combined-logs%log.dirs=${KAFKA_LIB}%" ${KAFKA_CONFIG} \
|
||||||
&& ln -s ${KAFKA_LOG} ${KAFKA_HOME}/logs \
|
&& ln -s ${KAFKA_LOG} ${KAFKA_HOME}/logs \
|
||||||
&& echo -e "${KAFKAD}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/init.d/kafkad \
|
&& echo -e "${KAFKAD}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/init.d/kafkad \
|
||||||
&& chmod a+x /etc/init.d/kafkad \
|
&& chmod a+x /etc/init.d/kafkad \
|
||||||
|
Loading…
Reference in New Issue
Block a user