Skip to content

Commit

Permalink
Revert "Uses pod name for broker id"; keep doing like before and like…
Browse files Browse the repository at this point in the history
… zoo

This reverts commit dcdac0f.
  • Loading branch information
solsson committed Oct 15, 2017
1 parent dd9ce95 commit 73e0e5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 10broker-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ data:
#!/bin/bash
set -x
KAFKA_BROKER_ID=${POD_NAME##*-}
KAFKA_BROKER_ID=${HOSTNAME##*-}
sed -i "s/#init#broker.id=#init#/broker.id=$KAFKA_BROKER_ID/" /etc/kafka/server.properties
hash kubectl 2>/dev/null || {
Expand Down

0 comments on commit 73e0e5b

Please sign in to comment.