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.
 
 
 
 

16 Zeilen
540 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