tencent cloud

Feedback

Resource Creation and Preparation

Last updated: 2024-12-02 17:03:07

    Overview

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

    Prerequisites

    You have signed up for a Tencent Cloud account as instructed in Signing Up.

    Directions

    Step 1. Create a cluster and configure the network

    1. Log in to the TDMQ for Apache Pulsar console, enter the Cluster 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.
    
    Note:
    For more information on clusters, see Cluster Management.
    The VPC access address does not support cross-region access. Make sure that the client and virtual cluster are in the same region.

    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 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