Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 613 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 613 Bytes

Rust + RabbitMQ

A simple event driven rust example.

To run rabbitmq with docker:

$ docker run -d --name rabbitmq rabbitmq:3

To access rabbitmq dashboard visit: http://0.0.0.0:15672: rabbitmq dashboar

After publisher and subscriber are built, move to the subscriber directory and run subscriber:

$ cargo run

and now in an another terminal session, move to the publisher directory and run publisher:

$ cargo run

You should see the magic happens:

rabbitmq subscriber rabbitmq publisher