Skip to content

Commit c70bd7d

Browse files
committed
fix: command to create topics
1 parent 04d3faa commit c70bd7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

local/kafka-client/create-topics.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
22

33
while read topic; do
4-
/usr/bin/kafka-topics --create --zookeeper zookeeper:2181 --partitions 1 --replication-factor 1 --topic $topic
4+
/opt/kafka/bin/kafka-topics.sh --create --zookeeper zookeeper:2181 --partitions 1 --replication-factor 1 --topic $topic
55
done < topics.txt

0 commit comments

Comments
 (0)