Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michmich112/rabbit-mq-test
https://github.com/michmich112/rabbit-mq-test
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/michmich112/rabbit-mq-test
- Owner: michmich112
- Created: 2021-03-26T17:56:43.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-28T02:30:31.000Z (almost 4 years ago)
- Last Synced: 2023-03-06T08:32:20.384Z (almost 2 years ago)
- Language: Go
- Size: 4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rabbit-mq-test
Test for creating a chat using rabbit-mq using a sender (provider) and a receiver (consumer).
## Getting Started
Create your RabbitMQ instance using docker:
```
docker pull rabbitmq:latest
docker run -d --hostname rabbit-mq-test -p 5672:5672 --name rabbit rabbitmq:latest
```
Then navigate to the respository on 2 terminal sessions. On the first one, launch the receiver by running:
```
./chat receive
```
and on the second one start the sender by running:
```
./chat send
```On the sender window, write any message and press enter to send it. It should appear automatically on the receiver window!