Link to DMS Kafka

Description

By creating a DMS Kafka link, you can connect to Kafka Basic or Kafka Platinum on DMS. Currently, you can only export data from DMS Kafka to Cloud Search Service.

Sample Link

{
  "links": [
    {
      "link-config-values": {
        "configs": [
          {
            "inputs": [
              {
                "name": "linkConfig.kafkaType",
                "value": "Basic"
              },
              {
                "name": "linkConfig.endpoint",
                "value": "dms-kafka.cn-north-1.myhuaweicloud.com:37000"
              },
              {
                "name": "linkConfig.ak",
                "value": "GRC2WR0IDC6NGROYLWU2"
              },
              {
                "name": "linkConfig.sk",
                "value": "Add password here"
              },
              {
                "name": "linkConfig.projectId",
                "value": "c48475ce8e174a7a9f775706a3d5ebe2"
              },
              {
                "name": "linkConfig.targetProjectId",
                "value": "be1a07648c074b948700a03fa3c0990e"
              }
            ],
            "name": "linkConfig"
          }
        ]
      },
      "name": "dms",
      "connector-name": "dms-kafka-connector"
    }
  ]
}

Link Parameters

Parameter

Mandatory

Type

Description

linkConfig.kafkaType

Yes

Enumeration

DMS Kafka version. The options are as follows:

  • Basic: Kafka Basic
  • Platinum: Kafka Platinum

linkConfig.endpoint

Yes

String

DMS endpoint in the format of host:port

linkConfig.ak

Yes

String

AK for accessing DMS Kafka

linkConfig.sk

Yes

String

SK for accessing DMS Kafka

linkConfig.projectId

Yes

String

Project ID in the region where DMS resides

linkConfig.targetProjectId

No

String

To access the queues authorized by other tenants, enter the grantor's project ID