Skip to content

quiye/pulsar-rust-websocket-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Pulsar Producer Sample

Build Status

This is Pulsar producer sample code, an analogy of Python producer code.

How To Run Sample Code

Run Pulsar Broker

$ docker run -it \
  -p 6650:6650 \
  -p 8080:8080 \
  -v $PWD/data:/pulsar/data \
  apachepulsar/pulsar:2.2.0 \
  bin/pulsar standalone

Produce

$ git clone https://github.com/quiye/pulsar-rust-websocket-client.git
$ cd pulsar-rust-websocket-client
$ cargo run

then,

Got message: {"result":"ok","messageId":"CHcQAg==","context":"5"}

Consume

TODO

Releases

No releases published

Packages

No packages published

Languages