PubSub

Build on the fundamentals of PubSub by selecting the topic in this lesson.

Selecting a topic name

A carefully selected topic name is vital for the scalability and behavior of an application. For instance, a public Channel providing inventory updates to an e-commerce storefront could be implemented in a variety of ways:

  • inventory: This topic does not delineate between different SKUsStock Keeping Units.
  • inventory:*: This topic delineates between different item SKUsStock Keeping Units
...