Skip to content

Commit

Permalink
fix docker script
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Collina <[email protected]>
  • Loading branch information
mcollina committed Jan 13, 2025
1 parent d2ce807 commit 7d66566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7d66566

Please sign in to comment.