https://github.com/liftitapp/deadletters
RabbitMQ retries system
https://github.com/liftitapp/deadletters
amqp golang rabbitmq
Last synced: about 1 year ago
JSON representation
RabbitMQ retries system
- Host: GitHub
- URL: https://github.com/liftitapp/deadletters
- Owner: Liftitapp
- License: mit
- Created: 2019-10-16T19:37:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-06T22:32:47.000Z (over 3 years ago)
- Last Synced: 2025-02-06T15:53:05.233Z (over 1 year ago)
- Topics: amqp, golang, rabbitmq
- Language: Go
- Size: 32.2 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Deadletters
This is a retry System for retrying amqp messages and store them in a mongo database if the retry limit is reached
# Run Dev
Ensure to have a rabbitmq installed
```
docker run -d --hostname my-rabbit --name some-rabbit -p 15672:15672 -p 5672:5672 rabbitmq:3-management
```
And a mongodb instance
```
sudo apt install mongodb
```
# Deploy
The app comes in two modes, the server
```
docker build -f server/Dockerfile .
```
And a CLI to run as a cron job
```
docker build -f retry/Dockerfile .
```
# Testing
Ensure to run first the server and after that run the main in the example folder, this will simulate a amqp queue listener and reject messages going to it in order to be sent to the dlx listener