In Pub/Sub, what is the role of a topic?

  • A named resource to which messages are sent by publishers.
  • A subscriber that receives messages from publishers and processes them.
  • A storage location where messages are stored temporarily before being delivered to subscribers.
  • A protocol used by publishers and subscribers to communicate with each other.
Understanding the role of topics in Pub/Sub is essential for designing efficient and scalable messaging architectures. Topics act as intermediaries between publishers and subscribers, facilitating the decoupling of components and enabling flexible message routing and distribution.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *