Skip to content

Commit

Permalink
Merge "Update listner address in listener=string in entrypoint Closes…
Browse files Browse the repository at this point in the history
…-Bug: #1781559" into R5.0
  • Loading branch information
Zuul v3 CI authored and opencontrail-ci-admin committed Jul 15, 2018
2 parents 40d1b7a + e4c2582 commit b402bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion containers/external/kafka/docker-entrypoint.sh
Expand Up @@ -84,7 +84,7 @@ sed -i "s/=\"\$base_dir\/..\/etc/=\"\$base_dir\/..\/..\/etc/g" ${KAFKA_START_BIN

sed -i "s/^broker.id=.*$/broker.id=$KAFKA_BROKER_ID/g" ${CONFIG}
sed -i "s/#port=.*$/port=$KAFKA_LISTEN_PORT/g" ${CONFIG}
sed -i "s/^listeners=.*$/listeners=PLAINTEXT:\/\/$KAFKA_LISTEN_ADDRESS:$KAFKA_LISTEN_PORT/g" ${CONFIG}
sed -i "s/#listeners=.*$/listeners=PLAINTEXT:\/\/$KAFKA_LISTEN_ADDRESS:$KAFKA_LISTEN_PORT/g" ${CONFIG}
sed -i "s)^zookeeper.connect=.*$)zookeeper.connect=$zk_list)g" ${CONFIG}
sed -i "s/#advertised.host.name=.*$/advertised.host.name=$my_ip/g" ${CONFIG}
sed -i "s/^#log.retention.bytes=.*$/log.retention.bytes=$KAFKA_log_retention_bytes/g" ${CONFIG}
Expand Down

0 comments on commit b402bd1

Please sign in to comment.