Skip to content

brunokino/tutorial-go-fiber-rabbitmq

 
 

Repository files navigation

📖 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, Docker Compose and start their system services.
  2. Run containers with the RabbitMQ, Fiber and consumer by this command:
make run
  1. Make HTTP request to the API endpoint:
curl \
    --request GET \
    --url 'http://localhost:3000/send?msg=test'
  1. Go to RabbitMQ awesome dashboard localhost:5672 and see QueueService1 queue with sent messages:

Screenshot

⚠️ License

MIT © Vic Shóstak & True web artisans.

About

📖 Tutorial: Working with RabbitMQ in Golang by examples.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.0%
  • Makefile 2.0%