Skip to content

Basic flow of event publish and subscribe model using RabbitMQ as a broker message. The project consists of 2 services, one for publications and the other for consumers.

License

Notifications You must be signed in to change notification settings

dcortesnet/Nodejs-rabbitmq-pub-sub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nodejs RabbitMQ Pub/Sub License: MIT

Basic flow of event publish and subscribe model using RabbitMQ as a broker message. The project consists of 2 services, one for publications and the other for consumers.

Docker compose orchestration

docker-compose up
docker-compose down

Endpoints

Service Method Endpoint body Description
Service pub POST http://localhost:3000/messages {message: "Hello world"} Create new resource
Service sub GET http://localhost:3001/messages Get all resources

Team

Developed by Diego Cortés

About

Basic flow of event publish and subscribe model using RabbitMQ as a broker message. The project consists of 2 services, one for publications and the other for consumers.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published