rtsub.sh 239 B

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