https://github.com/koddr/tutorial-go-fiber-rabbitmq
π Tutorial: Working with RabbitMQ in Golang by examples.
https://github.com/koddr/tutorial-go-fiber-rabbitmq
fiber-framework golang message-broker queue rabbitmq tutorial tutorial-code tutorial-sourcecode
Last synced: 12 months ago
JSON representation
π Tutorial: Working with RabbitMQ in Golang by examples.
- Host: GitHub
- URL: https://github.com/koddr/tutorial-go-fiber-rabbitmq
- Owner: koddr
- License: mit
- Created: 2021-03-30T21:10:20.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-02T05:27:02.000Z (almost 2 years ago)
- Last Synced: 2025-04-29T19:59:48.117Z (about 1 year ago)
- Topics: fiber-framework, golang, message-broker, queue, rabbitmq, tutorial, tutorial-code, tutorial-sourcecode
- Language: Go
- Homepage: https://dev.to/koddr/working-with-rabbitmq-in-golang-by-examples-2dcn
- Size: 43 KB
- Stars: 49
- Watchers: 2
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# π Tutorial: Working with RabbitMQ in Golang by examples
This tutorial is more aimed at those who just want to understand how to working with a message broker in Go.
π The full article is published on **March 31, 2021**, on Dev.to: https://dev.to/koddr/working-with-rabbitmq-in-golang-by-examples-2dcn
## Quick start
1. Install [Docker](https://www.docker.com/get-started), Docker Compose and start their system services.
2. Run containers with the RabbitMQ, [Fiber](https://github.com/gofiber/fiber) and consumer by this command:
```bash
make run
```
3. Make HTTP request to the API endpoint:
```console
curl \
--request GET \
--url 'http://localhost:3000/send?msg=test'
```
4. Go to RabbitMQ awesome dashboard [localhost:5672](http://localhost:5672) and see `QueueService1` queue with sent messages:

## P.S.
If you want more articles like this on this blog, then post a comment below and subscribe to me. Thanks! π
And, of course, you can support me by donating at [LiberaPay](https://liberapay.com/koddr/donate). _Each donation will be used to write new articles and develop non-profit open-source projects for the community._
[](https://liberapay.com/koddr/donate)
## β οΈ License
MIT Β© [Vic ShΓ³stak](https://shostak.dev/) & [True web artisans](https://1wa.co/).