This topic describes how to configure specific parameters and find their values when the target is a Message Queue for Apache Kafka instance accessed over Express Connect, VPN Gateway, or Smart Access Gateway.
Usage notes
-
When you connect a Message Queue for Apache Kafka instance to Data Transmission Service (DTS) using this method, DTS writes data to the nodes you specify.
-
If your source database is MySQL, we recommend that you use the Alibaba Cloud Instance Access Method to connect Message Queue for Apache Kafka to DTS.
-
When the target is a Message Queue for Apache Kafka instance, Schema Migration and Schema Synchronization are not supported.
Parameters
|
Parameter① |
Description |
How to find② |
|
Access Method |
Select Express Connect, VPN Gateway, or Smart Access Gateway. Important
For some DTS tasks, you cannot directly select Message Queue for Apache Kafka. In this case, configure data synchronization by treating the instance as a self-managed Kafka cluster. |
N/A |
|
Connected VPC |
Select the VPC ID of the Message Queue for Apache Kafka instance. |
On the instance information tab, in the Configurations section, view the VPC ID. |
|
Domain Name or IP |
Enter any IP address from the Message Queue for Apache Kafka instance's default endpoint. |
On the instance information tab, in the endpoint information section, find the Domain Name Endpoint with a Type of default endpoint. Note
|
|
Port Number |
Enter the service port of the Message Queue for Apache Kafka instance. The default value is 9092. |
|
|
Database Account |
The Database Account and Database Password parameters are required only if Access Control List (ACL) is enabled for the Message Queue for Apache Kafka instance. Note
For more information about how to enable ACL, see SASL user authorization. |
On the Manage SASL Users tab, view the Username. |
|
Database Password |
On the Manage SASL Users tab, find the target account and click Copy Password. |
|
|
Kafka Version |
|
On the instance information tab, in the basic information section, view the Major Version. |
|
Encryption |
|
On the Manage SASL Users tab, view the user type of the Message Queue for Apache Kafka instance. Note
The Manage SASL Users tab is displayed only for instances for which ACL is enabled. |
-
① The Parameter column in the table contains special parameters that are required for tasks whose destination is Message Queue for Apache Kafka.
-
② To find the values for these parameters, navigate to the Instances page in the Message Queue for Apache Kafka console. Select the region of the target instance, and then click the instance name to open the Instance Details page.