liveBook · Manning

Topic

As explained in Microservices Patterns, Second Edition

A topic is a broker-managed message destination representing a stream or publication target for messages.

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

How Microservices Patterns, Second Edition covers it

How deep it goes
Lists channel-selection criteria but does not describe topic internals or configuration.
Examples
Compares Kafka topics with channel constructs in ActiveMQ, RabbitMQ, Kinesis, SQS, and SNS.
What you can do after
Evaluate channel requirements before selecting a messaging broker.
How it connects
Connects topics with message channels, point-to-point messaging, and publish-subscribe messaging.

Also explained in

Compare how 7 books explain topic →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Microservices Patterns, Second Edition. The section links point to the parts of the book it draws on.