This section details how you can use the publish/subscribe mechanism to handle events by performing the following tasks:
Publishing to a topic
Writing an Event Handler
Subscribing to a topic