first commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
KAFKA_TOPICS=(
|
||||
"warehouse-tag-tree"
|
||||
)
|
||||
|
||||
for TOPIC in "${KAFKA_TOPICS[@]}"; do
|
||||
kafka-topics.sh --bootstrap-server localhost:9092 --create --topic "$TOPIC" --partitions 1 --replication-factor 1 || true
|
||||
done
|
||||
|
||||
# Prevent container from exiting
|
||||
exec "$@"
|
||||
Reference in New Issue
Block a user