All Questions
21 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 ...
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 ...
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 ...
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/...
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 ...
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 ...
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 ...
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)...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
-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 ...