Ashal opened a new issue, #8264:
URL: https://github.com/apache/seatunnel/issues/8264

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   oracle cdc同步到doris时数据丢失
   
   ### SeaTunnel Version
   
   2.3.7
   
   ### SeaTunnel Config
   
   ```conf
   env {
     job.name = "S-GL_JE_LINES"
     job.mode = "STREAMING"
     parallelism = 1
     checkpoint.interval = 10000
     read_limit.rows_per_second=10240
   }
   source {
    Oracle-CDC {
       base-url = "jdbc:oracle:thin:@//xxxx:1521/prod"
       username = "xxx"
       password = "xx"
       database-names = ["PROD"]
       schema-names = ["GL"]
       table-names = ["PROD.GL.GL_JE_LINES"]
       table-names-config = [
         {
           table = "PROD.GL.GL_JE_LINES"
           primaryKeys = ["JE_HEADER_ID","JE_LINE_NUM"]
         }
   
       ]
   
       source.reader.close.timeout = 120000
       skip_analyze = true
       use_select_count = true
       exactly_once = false
     }
   }
   
   
   sink {
     Doris {
       fenodes = "10.9.4.162:8030,10.9.4.163:8030,10.9.4.164:8030"
       username = "xx"
       password = "xxx"
       database = "asset_finance"
       table = "GL_JE_LINES"
       sink.label-prefix = "prod-oracle-${table_name}"
       sink.enable-2pc = false
       sink.enable-delete = true
       doris.batch.size = 10240
       doris.config {
         format = "json"
         read_json_by_line = "true"
       }
       schema_save_mode = "CREATE_SCHEMA_WHEN_NOT_EXIST"
       data_save_mode = "APPEND_DATA"
       save_mode_create_template = """
         CREATE TABLE IF NOT EXISTS `${database}`.`${table_name}` (
         ${rowtype_fields}
         ) ENGINE=OLAP
           UNIQUE KEY (${rowtype_primary_key})
           DISTRIBUTED BY HASH (${rowtype_primary_key})
           PROPERTIES (
             "replication_allocation" = "tag.location.default: 1",
             "in_memory" = "false",
             "storage_format" = "V2",
             "disable_auto_compaction" = "false"
           )
         """
     }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   使用dolphinscheduelr启动任务,${SEATUNNEL_HOME}/bin/seatunnel.sh --config 
/tmp/dolphinscheduler/exec/process/dolphinscheduler/125888949220480/125976721417921_43/1060/1629/seatunnel_1060_1629.conf
 --deploy-mode cluster
   ```
   
   
   ### Error Exception
   
   ```log
   /
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@seatunnel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to