Exercise - Publish and subscribe to events in Azure Managed Redis

Completed

In this exercise, you create an Azure Managed Redis resource and complete the code for a console-based publisher and a subscriber app. The publisher app sends event messages to Redis channels, while the subscriber app listens for those messages using a graphical interface built with tkinter. You implement core pub/sub patterns including direct channel subscriptions, wildcard pattern matching, message formatting, and background message listening.

Tasks performed in this exercise:

  • Download the project starter files
  • Create an Azure Managed Redis resource
  • Add code to complete both the publisher and subscriber apps
  • Run the publisher and subscriber apps to send and receive messages

This exercise takes approximately 40 minutes to complete.

Before you start

To complete the exercise, you need:

Get started

Select the Launch Exercise button to open the exercise instructions in a new browser window. When you're finished with the exercise, return here to:

  • Complete the module
  • Earn a badge for completing this module

Button to launch exercise.