Browse Source

chore: add settings topic to init script

master
Blaz Smehov 2 days ago
parent
commit
d69952a36d
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      build/init-scripts/create_topic.sh

+ 6
- 1
build/init-scripts/create_topic.sh View File

@@ -15,7 +15,12 @@
--create --if-not-exists --topic alertbeacons \
--partitions 1 --replication-factor 1

# create topic alertBeacons
# create topic locevents
/opt/kafka/bin/kafka-topics.sh --bootstrap-server kafka:29092 \
--create --if-not-exists --topic locevents \
--partitions 1 --replication-factor 1

# create topic settings
/opt/kafka/bin/kafka-topics.sh --bootstrap-server kafka:29092 \
--create --if-not-exists --topic settings \
--partitions 1 --replication-factor 1

Loading…
Cancel
Save