
  env  {
    job.name = "SQL-SQL-添加主键",
    job.mode = "BATCH",
    execution.parallelism = 1,
    execution.restart.strategy = "no",
    execution.checkpoint.unaligned = "true"
  }

  source   {
    url = "jdbc:sqlserver://121.204.249.37:1433;DatabaseName=PlatomixDB",
    driver = "com.microsoft.sqlserver.jdbc.SQLServerDriver",
    batch_size = 3000,
    auto_commit = true,
    password = "Platomix@sqlserver123",
    is_exactly_once = false,
    query = "select t_id,id,name,isdelete,isbackup,spellname,uid,create_time,modify_time,onlyid,catalogid from TB_GOODS_1212",
    fetch_size = 8000,
    plugin_name = "Jdbc",
    user = "SA",
    result_table_name = "table_jdbc_3081"
  }
  transform   {
   primary = "wypID",
    genMethod = "SnowFlake",
    plugin_name = "PrimaryAdd",
    source_table_name = [ "table_jdbc_3081" ],
    result_table_name = "table_primaryadd_3082"
  }
  sink   {
    url = "jdbc:sqlserver://121.204.249.37:1433;DatabaseName=PlatomixDB",
    driver = "com.microsoft.sqlserver.jdbc.SQLServerDriver",
    batch_size = 3000,
    auto_commit = true,
    password = "Platomix@sqlserver123",
    is_exactly_once = false,
    query = "insert into tb_goods_wyp_1218_3(t_id,id,name,isdelete,isbackup,spellname,uid,create_time,modify_time,onlyid,catalogid,wypID) values(?,?,?,?,?,?,?,?,?,?,?,?)",
    database = "dbo",
    table = "tb_goods_wyp_1218_3",
    support_upsert_by_query_primary_key_exist = false,
    generate_sink_sql = false,
    plugin_name = "Jdbc",
    user = "SA",
    source_table_name = [ "table_primaryadd_3082" ]
  }

