Przeglądaj źródła

chore: add settings topic to init script

master
Blaz Smehov 2 dni temu
rodzic
commit
d69952a36d
1 zmienionych plików z 6 dodań i 1 usunięć
  1. +6
    -1
      build/init-scripts/create_topic.sh

+ 6
- 1
build/init-scripts/create_topic.sh Wyświetl plik

@@ -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

Ładowanie…
Anuluj
Zapisz