Du kannst nicht mehr als 25 Themen auswählen
Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
|
- #!/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
|