Help Center> Data Lake Insight> User Guide> Queue Management> Creating a Message Notification Topic

Creating a Message Notification Topic

Once you have created a message notification topic, you can Add subscription of the topic on the Topic Management page of the Simple Message Notification service. You can select different ways (such as text messages or emails) to subscribe. After the subscription succeeds, any job failure will automatically be sent to your subscription endpoints. The operation is as follows:

  1. On the Queue Management page, click Create SMN Topic on the upper left side. The Create SMN Topic dialog box is displayed, as shown in Figure 1.
    Figure 1 Creating a message notification topic
  2. Select a queue and click OK. The dialog box shown in Figure 2 is displayed.
    • You can select a single queue or all queues. If the subscription endpoints of a single queue are different from those of all queues, when a single queue and all queues are both selected, the SMN of all queues do not include the message of the single queue.
    • After a notification topic is created, you will receive a notification only when a session or a batch job fails to be created.
    Figure 2 Successfully created a topic
  3. Click Topic Management in Figure 2 to go to the Topic Management page of the SMN service.
    Figure 3 Topic management page
  4. In the Operation column of the corresponding topic in Figure 3, click Add Subscription. Select Protocol to determine the subscription mode in the displayed dialog box in Figure 4.
    • If you select SMS for the subscription protocol, you need to enter the mobile number for receiving the confirmation SMS message in the Endpoint text box.
    • If you select Email, enter the email address for receiving the confirmation email in the Endpoint text box.
    • For more information, see section Adding a Subscription in the Simple Message Notification User Guide.
    Figure 4 Adding a subscription
  5. After you click the link in the SMS message or email, you will receive a message indicating that the subscription is successful.
  6. Return to the Figure 3 page and click Subscriptions on the left. If the subscription status is Confirmed, the subscription is successful.