GithubHelp home page GithubHelp logo

rabbitmq-poc's Introduction

RABBITMQ POC

Description

POC sur RabbitMQ utilisant des microservices avec plusieurs ReplicaSets. Sur 3 instances du même service, seul l'une d'entre elles doit traiter le message. En cas d'erreur, le message est réessayé 3 fois avec un délai exponentiel. Après 3 tentatives infructueuses, le message est redirigé vers une "dead-letter", permettant d'identifier le problème et de signaler l'erreur.

Cette "dead-letter" fonctionne selon un modèle de Topic, offrant la possibilité de cibler une erreur sur une queue spécifique ou sur toutes les queues ayant échoué.

Plugin for delaying messages

https://github.com/rabbitmq/rabbitmq-delayed-message-exchange

Launch

docker-compose up -d

Using bun:

Launch receiver bun src/receive.ts

Launch sender bun src/send.ts

Launch receive poison messages bun src/receiveDeadLetter.ts

Launch test with send and fail bun start

rabbitmq-poc's People

Watchers

Jeremy Bosquet avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.