Categorygithub.com/afaf-tech/go-rabbitmq
repositorypackage
0.1.1
Repository: https://github.com/afaf-tech/go-rabbitmq.git
Documentation: pkg.go.dev

# README

Go RabbitMQ Auto-Reconnect Project

go-github release (latest SemVer)

This project demonstrates a simple implementation of a RabbitMQ consumer and producer in Go with automatic reconnection capabilities.

Explores the hypothesis of using a single connection for many channels, both for producers and consumers, in a RabbitMQ setup. This architectural choice aims to optimize resource usage and improve performance in scenarios with a large number of channels.

Requirements

  • go 1.21

Installation

  1. use the module:
   go get github.com/afaf-tech/go-rabbitmq 

Consumer

# How to use the consumer

Producer

# How to use the producer

Backlog

  • Proper Logging
  • Producer function

License

This project is licensed under the MIT License - see the LICENSE.md file for details.