Não pode escolher mais do que 25 tópicos
Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
|
- #!/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 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
|