tencent cloud

Feedback

Cluster Management

Last updated: 2022-02-11 14:30:03

    Overview

    Cluster is a resource dimension in TDMQ for RocketMQ, and namespaces, topics, and groups of different clusters are completely isolated from each other. Each cluster has its own resource limits, such as the total number of topics and message retention period. It is common for the development, test, and production environments to use their respective dedicated clusters.

    TDMQ for RocketMQ resource hierarchy

    Directions

    Creating cluster

    1. Log in to the TDMQ for RabbitMQ console and enter the Cluster Management page.
    2. On the Cluster Management page, select the region and click Create to enter the Create Cluster window.
    3. In the Create Cluster window, set the cluster attributes:
      • Cluster Name: enter the cluster name, which can contain 3–64 letters, digits, hyphens, and underscores.
      • Remarks: enter the cluster remarks of up to 128 characters.
    4. Click OK.
      Note:

      • Up to 5 virtual clusters can be created in one region.
      • No resource usage fees are charged during the beta test.

    Next steps:

    1. Get the access address (connection information of the server).
    2. Create a namespace in the cluster.
    3. Create a role in the cluster and grant it the production/consumption permissions of the namespace.
    4. Create a topic in the namespace.
    5. Write a demo as instructed in the SDK documentation and configure the connection information for message production/consumption.

    Viewing cluster details

    On the Cluster Management list page, click View Details in the Operation column to enter the cluster details page.

    On the details page, you can query:

    • Cluster overview (numbers of topics, messages produced in the last 24 hours, and currently retained messages)
    • Cluster's basic information (cluster name/ID, region, creation time, and remarks)
    • Cluster configuration:
    Cluster Configuration Description
    Maximum TPS per namespace Maximum TPS of one namespace (production TPS + consumption TPS). If this value is exceeded, requests will be throttled
    Maximum number of namespaces Maximum number of namespaces that can be created
    Maximum number of topics Maximum number of topics that can be created
    Maximum number of groups Maximum number of groups that can be created
    Message retention period Maximum message retention period that can be configured. A shorter period can be configured at the namespace level
    Maximum message delay Maximum time of delayed message consumption

    Getting access address

    On the Cluster Management list page, click Access Address in the Operation column to get the access address of the cluster.

    Editing cluster

    1. On the Cluster Management list page, click Edit in the Operation column of the target cluster.
    2. Enter the cluster name and remarks in the pop-up window and click Submit.

    Deleting cluster

    You can delete a created cluster in the following steps:

    1. On the Cluster Management list page, click Delete in the Operation column of the target cluster.
    2. In the deletion confirmation pop-up window, click Delete.
    Note:

    After a cluster is deleted, all the configurations under it will be cleared and cannot be recovered. Therefore, caution should be exercised with this operation.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support