Pulsar Docker#
Apache Pulsar is an open-source, distributed messaging and streaming platform built for the cloud.
Docker#
docker run -it -p 6650:6650 -p 8080:8080 --mount source=pulsardata,target=/pulsar/data --mount source=pulsarconf,target=/pulsar/conf apachepulsar/pulsar:3.1.2 bin/pulsar standalone
docker run -d --name pulsar -p 6650:6650 -p 8080:8080 apachepulsar/pulsar:3.1.2 bin/pulsar standalone
Get the topic statistics#
curl http://localhost:8080/admin/v2/persistent/public/default/my-topic/stats | python -m json.tool