Creating a Topic
Scenarios
A topic is a specified event to publish messages and subscribe to notifications. It serves as a message sending channel, where publishers and subscribers can interact with each other.
Creating a Topic
- Log in to the management console.
- Click on the upper left to select the desired region and project.
- and select Simple Message Notification under Application Service.
The SMN console is displayed.
- In the navigation pane, choose Topic Management > Topics.
The Topics page is displayed.
- In the upper right corner, click Create Topic.
- Enter a topic name and display name.
Table 1 Parameter descriptions Parameter
Description
Topic Name
Topic name, which:
- Contains only letters, digits, hyphens (-), and underscores (_), and must start with a letter or digit.
- Contains 1 to 255 characters.
- Must be unique and cannot be modified once the topic is created.
Display Name
Message sender name which can contain up to 192 characters
NOTE:After you specify a display name, the sender in email messages will be presented as Display name<username@example.com>. Otherwise, the sender will be username@example.com.
Enterprise Project
Centrally manages cloud resources and members by project.
Tag
A tag is a key-value pair. Tags identify cloud resources so that you can easily categorize and search for your resources.
- You can add up to 20 tags to each topic.
- Click OK.
The topic you created is displayed in the topic list. The system generates a topic URN, which is the unique resource identifier of the topic and cannot be changed.
- Click the name of the topic to view its details, including the URN, display name, and subscriptions.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.