diff --git a/run_docker.sh b/run_docker.sh index a6aadbd..30fabcf 100755 --- a/run_docker.sh +++ b/run_docker.sh @@ -28,7 +28,7 @@ for topic in "${topics[@]}" do echo "Making topic $topic" until docker-compose exec kafka \ - kafka-topics --create --topic $topic --partitions 1 --replication-factor 1 --if-not-exists --zookeeper zookeeper:2181 + kafka-topics --create --topic $topic --partitions 1 --replication-factor 1 --if-not-exists --bootstrap-server localhost:9092 do topic_result="$?" if [ "$topic_result" == "1" ]; then