Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
|
- #!/bin/bash
-
- # create topic rawbeacons
- /opt/kafka/bin/kafka-topics.sh --bootstrap-server kafka:29092 \
- --create --if-not-exists --topic rawbeacons \
- --partitions 1 --replication-factor 1
-
- # create topic apibeacons
- /opt/kafka/bin/kafka-topics.sh --bootstrap-server kafka:29092 \
- --create --if-not-exists --topic apibeacons \
- --partitions 1 --replication-factor 1
-
- # create topic alertBeacons
- /opt/kafka/bin/kafka-topics.sh --bootstrap-server kafka:29092 \
- --create --if-not-exists --topic alertbeacons \
- --partitions 1 --replication-factor 1
-
- # create topic alertBeacons
- /opt/kafka/bin/kafka-topics.sh --bootstrap-server kafka:29092 \
- --create --if-not-exists --topic locevents \
- --partitions 1 --replication-factor 1
|