-
Download & Install docker
https://www.docker.com/get-started
-
Pull the docker image using below command
docker run -it --rm --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3-management
-
Once done open
localhost:15672
for management console of rabbitMQ
-
Clone the project in your go workspace
git clone https://github.com/nasir-rabbani/pubsub.git
-
Modify the .yaml files inside below locations as per your configurations before running
subscriber/configs publisher/configs
-
Run the Subscriber
cd subscriber go run main.go
-
Run the Publisher
cd publisher go run main.go