A queue is a message channel for point-to-point delivery. Ordering depends on the broker: ActiveMQ and RabbitMQ preserve order within a single queue, and AWS SQS FIFO queues guarantee ordered delivery; SQS standard queues do not. Preserving global ordering can reduce throughput and scalability. 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 message brokers implement point-to-point and publish-subscribe channels. section 8.3.3





























