7 Comments
User's avatar
Ajay Verma's avatar

Very well explained!

Mohamed Sajith's avatar

Clean and concise explanation of a distinction that trips up a lot of engineers. The point that all message brokers are message queues but not all message queues are message brokers is a great mental model. One thing worth mentioning: with Kafka, the consumer group abstraction is what lets it function as both — single consumer group for queue behavior, multiple for pub/sub. Solid resource for anyone building distributed systems.

Rodrigue Kankeu Nde's avatar

What a great article!

I would like to know when do we talk about Topic/Queue.

If we have a big focus on security in our system, what to choose between queue and broker?

In a broker, do the producer know who are the consumers?

Thanks.

Aprajita's avatar

well explained.Thanks

Ravi Sankar SV's avatar

Thank you for this article 🙂

Marcos F. Lobo 🗻🧭's avatar

Nice article Vivek! It's an important difference that sometimes is not clear enough.

Your visuals help a lot to understand the difference!