• Simple Message Notification

smn
  1. Help Center
  2. Simple Message Notification
  3. User Guide
  4. Topic Management
  5. Creating a Topic

Creating a Topic

Scenario

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.

To Create a Topic

  1. Log in to the management console.
  2. Click on the upper left to select the desired region and project.
  3. In the Application category, click Simple Message Notification.

    The SMN console is displayed.

  4. In the navigation pane, choose Topics.

    The Topics page is displayed.

  5. Click Create Topic.

    The Create Topic box is displayed.

    Figure 1 Create Topic
  6. Enter a topic name and display name.
    Table 1 Information required for creating a topic

    Parameter

    Description

    Topic Name

    Topic name, which:

    • Contains only upper or lower case letters, numerals, hyphens (-), and underscores (_) and must start with a letter or numeral.
    • Is a string of 1 to 255 characters.
    • Must be unique and cannot be modified once the topic is created.

    Display Name

    Message sender name, which must be less than 192 bytes.

    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.

    Tag

    Tags consist of keys and values. They identify cloud resources so that you can easily categorize and search for your resources.

    • A key or value is composed of letters, numerals, hyphens (-), and underscores (_) and cannot start or end with a space. A key contains 36 characters at most, and a value contains 43 characters at most.
    • You can add up to 10 tags for each topic.
  7. 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.

  8. Click the name of the topic to view its details, including the subscriptions, URN, and display name.