rtsub.sh 270 B

1234567
  1. #!/bin/bash
  2. ROOT=$(cd `dirname $0`/../../; pwd)
  3. TOPIC1=topic1
  4. TOPIC2=topic2
  5. # $ROOT/build/smqtail -lookupd-http-address=127.0.0.1:9061 -print-topic=true -topic=$TOPIC
  6. $ROOT/build/smqtail -smqd-tcp-address=127.0.0.1:9050 -print-topic=true -topic=$TOPIC1 -topic=$TOPIC2