datax使用关于url的坑

For example:

  • url:reader的url需要加[],writer的url不能加。

{
  "job": {
    "setting": {
      "speed": {
        "byte": 1048576
      },
      "errorLimit": {
        "record": 10000,
        "percentage": 0.02
      }
    },
    "content": [
      {
        "reader": {
          "name": "postgresql13reader",
          "parameter": {
            "username": "",
            "password": "",
            "connection": [
              {
                "jdbcUrl": ["jdbc:postgresql://"],
                "querySql": [
                  ""
                ]
              }
            ]
          }
        },
        "writer": {
          "name": "",
          "parameter": {
            "username": "",
            "password": "",
            "writeMode": "x",
            "column": [
            ],
            "connection": [
              {
                "table": [
                  ""
                ],
                "jdbcUrl": "jdbc:postgresql://"
              }
            ]
          }
        }
      }
    ]
  }
}

你可能感兴趣的:(postgresql)