Skip to content

Commit 7d66566

Browse files
committed
fix docker script
Signed-off-by: Matteo Collina <[email protected]>
1 parent d2ce807 commit 7d66566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run_docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ for topic in "${topics[@]}"
2828
do
2929
echo "Making topic $topic"
3030
until docker-compose exec kafka \
31-
kafka-topics --create --topic $topic --partitions 1 --replication-factor 1 --if-not-exists --zookeeper zookeeper:2181
31+
kafka-topics --create --topic $topic --partitions 1 --replication-factor 1 --if-not-exists --bootstrap-server localhost:9092
3232
do
3333
topic_result="$?"
3434
if [ "$topic_result" == "1" ]; then

0 commit comments

Comments
 (0)