I followed the rabbit MQ official tutorial (Tutorial)[https://www.rabbitmq.com/getstarted.html]
Start Docker Container for RabbitMQ server
docker-compose up
Login to RabbitMQ Management Console @ localhost:15672
username: guest
password: guest
Running 2-Worker Queues
example
You can run multiple workers by running the following command in multiple terminals In multiple terminals run:
yarn dev 8001
yarn dev 8002
...
Running 3-Publish Subscribe
example
You can run multiple subscribers by running the following command in multiple terminals In multiple terminals run:
yarn dev 8001
yarn dev 8002