tencent cloud

Managing the Namespace

Download
Focus Mode
Font Size
Last updated: 2026-05-19 17:55:05
During the use of namespaces, you may need to perform management operations such as modifying namespace configurations or deleting unnecessary namespaces. This document describes the operation steps for managing namespaces through the console.

Modifying a Namespace

Once a namespace is created, its name cannot be modified. Only its configuration information can be modified. To update the configurations, follow the steps below:
1. On the Namespace list page, click Edit in the operation column to go to the Edit page.
Parameter
Description
Message TTL
Expiration time for unconsumed messages. If not acknowledged within the timeout period, the message will be skipped. It ranges from 60 seconds to 15 days.
Message Retention Policy
Persistent retention: Data is persistently stored based on the maximum retention time and maximum storage space, regardless of consumption. When the limit is reached, data is deleted from the latest to the earliest.
Max Retention Period: The retention period is calculated from the time a message is produced to a Topic. Messages are deleted after this period elapses. The retention policy applies to acknowledged (ACKed) messages and does not affect unacknowledged messages. Unacknowledged messages enter the cleanup queue only after their TTL expires. The valid range is from 60 seconds to 15 days.
Max Storage Space: When the total size of all messages in a namespace reaches this limit, messages are deleted from the latest to the earliest based on their production time. The minimum value is 10 GB. Setting this value consumes cluster resources.
Deletion after consumption: After a message is successfully acknowledged (ACKed), it is asynchronously cleaned up within a certain period to save storage space. If a Topic has no subscriptions, the asynchronous cleanup applies directly to newly produced messages.
Auto-Create Subscription
After enabling this feature, clients can auto-create subscriptions.
Description
Fill in the namespace description, which cannot exceed 128 characters.
2. Modify the namespace configuration information, then click Save to complete the modification.

Deleting a Namespace

Note
The namespace cannot be deleted if there are topics within it.
A namespace cannot be deleted if a role still has permissions configured within it.
The namespace cannot be deleted if it is associated with a VPC.
To delete the created namespace, follow the steps below:
1. On the Namespace list page, click Delete in the operation column.
2. In the displayed dialog box, click Delete to delete the namespace.

Quota Management

Click Quota Management in the operation column of the namespace to go to the Quota Management window. This window allows you to view/adjust the resource specifications and quota details of the current namespace. For specific metrics and performance limits, see: Quotas and Limits.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback