Senior
From PDF
Microservices
Microservices
What are the pros and cons of using a message broker like Kafka or RabbitMQ in microservices?
Short answer: Pros: Asynchronous communication: Message brokers enable non-blocking communication between services, improving performance and responsiveness.
Explain a bit more
Loose coupling: Services don’t need to know about each other’s internals; they only communicate through events.
Say this in the interview
- Define — one clear sentence (the short answer above).
- Example — relate it to a project like ShopNest or your real work.
- Trade-off — when you would not use it.
Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png