Creating a Topic and Subscription in Azure Service Bus
Description
Azure Service Bus is a messaging service from Microsoft. Service Bus is based upon the Publish/Subscribe messaging model, which is often referred to simply as Pub/Sub. Azure Service Bus supports Queues and Topics.
Queues are used for pushing messages to a single consumer. Topics are used to distribute messages to multiple consumers in one-to-many message publishing scenarios. The benefits of using Pub/Sub messaging include:
- No need for expensive polling operations
- Applications and services can be decoupled
- Fault tolerance
- Scalability
In this Hands-On lab, you will use the Azure Portal to create a namespace in Azure Service Bus, and you will use the Azure command-line interface to create a Topic and a Subscription to your Topic.
Learning Objectives
Upon completion of this beginner-level lab, you will be able to:
- Use the Azure Portal to create an Azure Service Bus Namespace
- Use the Azure command-line interface to create a Topic and Subscription
- Examine your Namespace, Topic, and Subscription in the Azure Portal
Intended Audience
- Candidates for the Azure Developer Associate (AZ-204) certification
- Cloud Engineers
- Developers
Prerequisites
Familiarity with the following will be beneficial but is not required:
- Azure Service Bus
- Azure command-line interface
- The Bash shell
The following courses can be used to fulfill the prerequisites:
- Configuring Serverless Computing on Azure
- Overview of Azure Services
- Linux Command Line Byte Session
Updates
March 28th, 2023 - Updated instructions to include resource group flag
August 22nd, 2022 - Updated screenshots & instructions to match UI changes