25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

26 lines
884 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 locevents
  15. /opt/kafka/bin/kafka-topics.sh --bootstrap-server kafka:29092 \
  16. --create --if-not-exists --topic locevents \
  17. --partitions 1 --replication-factor 1
  18. # create topic settings
  19. /opt/kafka/bin/kafka-topics.sh --bootstrap-server kafka:29092 \
  20. --create --if-not-exists --topic settings \
  21. --partitions 1 --replication-factor 1