云数据迁移 CDM-MongoDB连接:连接样例

时间:2024-01-09 16:27:14

连接样例

{
    "links": [
        {
            "link-config-values": {
                "configs": [
                    {
                        "inputs": [
                            {
                                "name": "linkConfig.serverList",
                                "value": "10.120.84.149:27017"
                            },
                            {
                                "name": "linkConfig.database",
                                "value": "DB_name"
                            },
                            {
                                "name": "linkConfig.userName",
                                "value": "username"
                            },
                            {
                                "name": "linkConfig.password",
                                "value": "Add password here"
                            }
                        ],
                        "name": "linkConfig"
                    }
                ]
            },
            "name": "mongo_link",
            "connector-name": "mongodb-connector"
        }
    ]
}
support.huaweicloud.com/api-cdm/cdm_02_0072.html