tencent cloud

Feedback

Resource Creation and Preparation

Last updated: 2022-06-29 15:16:26

    Overview

    This document describes how to create resources such as cluster and topic in the TDMQ for Pulsar console and what operations you need to perform in the console before running a client.

    Prerequisites

    Directions

    Step 1. Create a cluster and configure the network

    1. Log in to the TDMQ for Pulsar console, enter the Cluster Management page, and select the target region.
    2. Click Create Cluster to create a cluster.
    3. Click Access Address in the Operation column of the created cluster.

      You can get the access address in the following ways:

      You can directly get the access address as shown below:

    Note:

    For more information on clusters, see Cluster Management.

    Step 2. Create a namespace

    On the Namespace page in the console, select the region and the cluster just created and click Create to create a namespace.

    Step 3. Create a role and configure permissions

    1. On the Role Management page in the console, select the region and the cluster just created and click Create to enter the Create Role page.
    2. Enter the role name and remarks and click Submit.
    3. Enter the Namespace page and click Configure Permission in the Operation column of the namespace just created to open its permission list.
    4. On the Configure Permissions page, click Add Role, add the role just created, and assign the production and consumption permissions.
    5. If the following is displayed, the permissions are configured successfully.

    Step 4. Create a topic and subscription

    1. On the Topic Management page, select the target region, cluster, and namespace and click Create to create a topic.
    2. Click Create Subscription in the Operation column to create a subscription for the topic just created.
    3. Click More > View Subscription/Consumer in the Operation column to view the subscription just created.
    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