Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 492 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 492 Bytes

Examples

In order to run these examples, you will need a running Apache-Pulsar backend. You can start one with:

docker run -it \
  -p 6650:6650 \
  -p 8080:8080 \
  --mount source=pulsardata,target=/pulsar/data \
  --mount source=pulsarconf,target=/pulsar/conf \
  apachepulsar/pulsar:2.10.0 \
  bin/pulsar standalone

Producer

RUST_LOG=info cargo run --release --example producer

Consumer

RUST_LOG=info cargo run --release --example consumer