Skip to main content

All Questions

1 vote
1 answer
256 views

How to implement RabbitMQ fanout type exchange in NestJS?

I'm currently working on integrating RabbitMQ into my monolithic NestJS application for real-time inventory management as part of my e-commerce app. I want to use a fanout type exchange to broadcast ...
berk's user avatar
  • 109
0 votes
1 answer
87 views

Is there any example or design of a queue system in microservices?

I just start to learn about microservices and message queue (rabbitmq) and I understand some exchanges as Direct, Topic,Fanout,Header,etc. But I do not clear about something like when should we close ...
Irene Pain's user avatar
0 votes
0 answers
55 views

How to handle micro services communication

I'm building a micro service based system that receives and process messages. A service receives the messages, while the other processes them. The messages received can be of 12 types and from around ...
Marco Fincato's user avatar
2 votes
1 answer
250 views

Microservice Messaging

If i have a generic service, like an email service which sends emails based on events from other services, which one of these approaches would be best: Email service listens to multiple queues/...
Luka Mikavica's user avatar
2 votes
1 answer
2k views

Is it wrong for a service to be producer and consumer of Rabbit MQ?

I want to create a "Notifications Microservice" that will handle different type of notifications (Google Chat, Email, etc). For this task, we will create a microservice that contains the ...
JorgeeFG's user avatar
  • 6,011
0 votes
2 answers
2k views

Prevent duplicate messages

Tech stack - Python, Rabbitmq, Elasticsearch, Heroku I have one application which adds content in the app based on a certain schedule and when the content is added, an email needs to be triggered to ...
Prim's user avatar
  • 1,364
0 votes
0 answers
122 views

how does a producer know what data to publish to queues in RabbitMQ?

How would a producer know which data to publish to consumers through queues ? for example if a consumer wants data X from a table in the producer's database.. how does it go about getting it from the ...
Imrane Akkouh's user avatar
0 votes
1 answer
195 views

How to decouple messaging middleware from microservices?

We have a bunch of microservices written in different programming languages by a variety of teams spanning across different companies. All these services communicate with each other over RabbitMQ(AMQP)...
Nishant123's user avatar
  • 1,966
1 vote
0 answers
25 views

How to notify scaled instances of a particular service about changes in DB?

I've a particular microservice, and due to highload it scaled out. Has a load balancer and API gateway. Clients are distributed between instances in a round robin manner. Some client perform a change ...
J.J. Beam's user avatar
  • 3,099
4 votes
2 answers
1k views

How Pub/Sub pattern decouples microservices while there are IntegrationEvents

I have been looking for an asynchronous communication pattern between microservices, where it ensures decoupling between the microservices. Then I came across the eShopOnContainers project from ...
Dr. Strangelove's user avatar
1 vote
1 answer
2k views

Message specification tool for a Message broker like RabbitMQ

I was inspired by the Swagger UI and rest API specifications it provides. Recently I started to work with message brokers (in particular RabbitMQ) and I would like to have some tool to start ...
user2809176's user avatar
  • 1,315
1 vote
1 answer
546 views

How to propagate exception on event-driven/message queue microservice?

It's very straightforward on HTTP call between microservices to propagate exception to caller/front-end. But how to propagate exception on event-driven/message queue (ie. RabbitMQ) microservice to ...
luthfianto's user avatar
  • 1,846
0 votes
1 answer
59 views

Should my microservices share the same database or communicate via a messaging service

I'm looking for general guidance on my systems design. I currently have two services: Vendor service that is connected to a Mongo database which contains specific Vendor data and including their ...
farris ismati's user avatar
2 votes
2 answers
2k views

Vapor Swift Client for a Message Queue / RabbitMQ

I'm having a play with Swift Vapor and want to build a web API using microservices. What's the best way for sending messages between microservices built with Vapor and a message queue such as ...
Adam Young's user avatar
  • 1,227
-1 votes
1 answer
556 views

RabbitMQ - How to handle 2 asynchronous messages as consuming microservice? [closed]

I have a question searching for the best approach of solving a problem. We are currently working on replacing our software monolith by a microservice architecture. We want to use a message queue as ...
Dominik Heim's user avatar

15 30 50 per page