Choose a messaging technology only after defining each channel’s requirements, such as delivery guarantees, ordering, persistence, durability, scalability, and latency. Kafka is one candidate broker to evaluate against those needs. section 8.3.3
Table 8.4 Each message broker implements the message channel concept in a different way.
Point-to-point channel |
Publish-subscribe channel |
|
ActiveMQ |
Queue |
Topic |
Apache Kafka |
Topic |
Topic |
RabbitMQ |
Exchange + Queue |
Fanout exchange and a queue per consumer |
AWS Kinesis |
Stream |
Stream |
AWS SQS |
Queue |
- |
AWS SNS |
- |
Topic |
Compare how brokers represent point-to-point and publish-subscribe channels; Kafka uses topics for both. section 8.3.3






