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.
 
 
 
 

21 lignes
716 B

  1. #!/bin/bash
  2. # create topic rawbeacons
  3. /opt/kafka/bin/kafka-topics.sh --bootstrap-server kafka:29092 \
  4. --create --if-not-exists --topic rawbeacons \
  5. --partitions 1 --replication-factor 1
  6. # create topic apibeacons
  7. /opt/kafka/bin/kafka-topics.sh --bootstrap-server kafka:29092 \
  8. --create --if-not-exists --topic apibeacons \
  9. --partitions 1 --replication-factor 1
  10. # create topic alertBeacons
  11. /opt/kafka/bin/kafka-topics.sh --bootstrap-server kafka:29092 \
  12. --create --if-not-exists --topic alertbeacons \
  13. --partitions 1 --replication-factor 1
  14. # create topic alertBeacons
  15. /opt/kafka/bin/kafka-topics.sh --bootstrap-server kafka:29092 \
  16. --create --if-not-exists --topic locevents \
  17. --partitions 1 --replication-factor 1