Tags can identify resources. You can use tags to classify Message Queue for Apache RocketMQ resources for easy resource search and aggregation. Message Queue for Apache RocketMQ allows you to create, edit, and delete tags for Message Queue for Apache RocketMQ instances, topics, and groups. This topic describes the instructions and limits for using tags.
- Each tag consists of a key-value pair.
- A tag must have a unique tag key.
For example, the
city:shanghaitag is bound to a Message Queue for Apache RocketMQ instance. To bind the
city:newyorktag to the instance, you need to delete the
- For more information about the best practices for tag design, see Best practices for tag design.
- A tag key must be 1 to 64 case-sensitive Unicode characters in length.
- A tag value must be 1 to 64 case-sensitive Unicode characters in length.
- A maximum of 20 tags can be bound to each resource.
- A tag key cannot start with aliyun or acs:, contain http:// or https://, or be an empty string.
- A tag value cannot contain http:// or https://. It can be an empty string.
- Tag information is not shared across regions. For example, tags created in the China (Hangzhou) region are not visible to the China (Shanghai) region.