File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash -e
2+
3+ # Kafka 0.9.x.x has a 'listeners' config by default. We need to remove this
4+ # as the user may be configuring via the host.name / advertised.host.name properties
5+ echo " Removing 'listeners' from server.properties pre-bootstrap"
6+ sed -i -e ' /^listeners=/d' " $KAFKA_HOME /config/server.properties"
Original file line number Diff line number Diff line change 11#! /bin/bash -e
22
3+ # Allow specific kafka versions to perform any unique bootstrap operations
4+ OVERRIDE_FILE=" /opt/overrides/${KAFKA_VERSION} .sh"
5+ if [[ -x " $OVERRIDE_FILE " ]]; then
6+ echo " Executing override file $OVERRIDE_FILE "
7+ eval " $OVERRIDE_FILE "
8+ fi
9+
310# Store original IFS config, so we can restore it at various stages
411ORIG_IFS=$IFS
512
You can’t perform that action at this time.
0 commit comments