A topic can publish messages only if it is subscribed to by at least one subscriber. If there are no subscribers, messages in the topic will not be delivered, and message publishing will be meaningless.
The model where a topic delivers a message to a subscriber is as shown below:
The topic follows the rules below when delivering the message to the subscriber:
This document describes how to manage subscriptions under a topic in TDMQ for CMQ.
You have created a topic.
Log in to the TDMQ for CMQ console.
Select Topic Subscription on the left sidebar, select the region, and click the ID of the target topic to enter the topic details page.
Select the Subscriber tab at the top, click Create, and enter the subscriber information.
FilterTag), so that the subscriber can receive only messages with the specified tags. Up to 5 tags can be added for one subscriber. As long as a tag matches a topic filter tag, the subscriber can receive messages delivered by the topic. If a message does not have any tag, the subscriber cannot receive it.
Click Submit, and you can see the created subscriber in the subscriber list.
On the Subscriber list page, click Edit in the Operation column to modify subscriber attributes.
You can only modify the subscriber's message filter tag and retry policy.
On the Subscriber list page, click Delete in the Operation column to delete the subscriber.