pulsar

add sink

bin/pulsar-admin sinks create \
    --inputs <topic> \
    --name influx \
    --sink-config-file /path-to/influxdb.yaml \
    -t influxdb

topic stats

bin/pulsar-admin tenants list
bin/pulsar-admin namespaces list <tenant>
bin/pulsar-admin topics list <tenant>/<namespace>
bin/pulsar-admin topics status <tenant>/<namespace>/<topic>

Eg;

bin/pulsar-admin topics status public/default/myTopic