Skip to content

A robust wrapper for rabbitmq/amqp091-go, offering seamless reconnection logic and thoughtfully crafted default configurations.

License

Notifications You must be signed in to change notification settings

afaf-tech/go-rabbitmq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A robust wrapper for rabbitmq/amqp091-go, offering seamless reconnection logic and thoughtfully crafted default configurations.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages