Adding a Routing Policy

Last updated: 2021-02-08 14:53:58


    This document describes how to configure a routing rule in the CKafka console to enhance network access control in public/private network transfers. For more information on public network access, please see User Access Control (ACL and User Management).


    Up to 5 routes can be created for an instance. There is only one route if the SASL_PLAINTEXT access mode is selected. For example, if SASL_PLAINTEXT is selected for the route type of public domain name access, you cannot select SASL_PLAINTEXT again when creating other routes.


    1. On the instance basic information page, click Add a routing policy in the Access Mode module.
    2. Select the route type and access mode in the pop-up window.
      Route Type: VPC or public domain name access, as described below:
      • VPC
        Operation scenario: when purchasing an instance, if you select VPC and choose a corresponding VPC environment (such as VPC A), then CKafka services (such as data production and consumption) can be accessed only from VPC A. If you subsequently find that you need to access the CKafka services in VPC A from other VPCs (such as VPC B), you can select an appropriate routing policy for VPC by configuring the access mode.
        Suggestion: to ensure security, this access mode supports user management and ACL policy configuration to manage user access permission. Please configure as appropriate.


        The VPC access address provided in the console (such as represents the communication address used to obtain the backend service. There may be multiple ports in a real access address. Please open all ports after 9092 to the internet on your server, so that the service can be accessed normally.

      • Public domain name access
        Operation scenario: if your consumer or producer is located in a self-built data center or another cloud, you can produce and consume data in CKafka through public network access.
        Suggestion: to ensure security, Kafka offers various security authentication mechanisms, which mainly fall into the SSL and SASL2 categories. Among them, SASL/PLAIN is an authentication method based on account and password and more commonly used. CKafka supports SASL_PLAINTEXT authentication. You are recommended to configure the authentication method as appropriate when selecting public domain name access.
    3. Click Submit to add the routing policy.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback