/pulsar-demo

Pulsar类似KafkaListener的PulsarListener

Primary LanguageJava

Pulsar-demo

copy了kafka的Listener修改为PulsarListener

pulsar docker

docker network create -d=bridge nets

docker run -it \
  --net=nets \
  --restart=unless-stopped \
  --name pulsar \
  -p 6650:6650 \
  -p 8090:8090 \
  -v /root/docker/data/pulsar2/:/pulsar/data \
  -v /etc/localtime:/etc/localtime \
  apachepulsar/pulsar:latest \
  bin/pulsar standalone