RabbitMQ
Self-hosted open sourceA classic "post office" style message queue: producers drop messages in, it distributes them to consumers by rule, and deletes a message only after it is processed and acknowledged.
Best forBusiness messages such as orders, notifications and emails, at small to mid scale where reliability is required.
Avoid whenYou have only a small 2 GB server and very simple needs, or must handle log streams of hundreds of thousands of messages per second.
Flexible routing rules (distribute by topic or condition)
Supports acknowledgements, retries and dead-letter queues (a "to-handle box" where messages that fail processing are moved automatically), so business messages are hard to lose
Mature documentation and community, with clients in every language
You must deploy and maintain a service yourself, and its memory usage is not small
Lower throughput than Kafka, unsuited to massive log streams
Clustering and high availability need some ops experience, and when messages pile up, memory alarms make it pause receiving messages