Apache Kafka uses a topic to implement both point-to-point and publish-subscribe channels. Choose a channel type and define its requirements before selecting a messaging technology. 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 map point-to-point and publish-subscribe channels to their messaging constructs. section 8.3.3






