Permalink
bf40f69 May 12, 2018
1 contributor

Users who have contributed to this file

executable file 7 lines (5 sloc) 308 Bytes
#!/bin/bash -e
# Kafka 0.9.x.x has a 'listeners' config by default. We need to remove this
# as the user may be configuring via the host.name / advertised.host.name properties
echo "Removing 'listeners' from server.properties pre-bootstrap"
sed -i -e '/^listeners=/d' "$KAFKA_HOME/config/server.properties"