chess3cake commented on issue #6550:
URL: https://github.com/apache/seatunnel/issues/6550#issuecomment-2144845145

   > @Asura7969 hi,how did you resolve it? I also had the same error
   
   @Carl-Zhou-CN my config like this `env {
     # You can set engine configuration here
     execution.parallelism = 1
     job.mode = "STREAMING"
     checkpoint.interval = 5000
     read_limit.bytes_per_second=7000000
     read_limit.rows_per_second=400
   }
   
   source {
     Postgres-CDC {
       startup.mode = "INITIAL"
       format= "COMPATIBLE_DEBEZIUM_JSON"
       username = "user"
       password = "wpwd"
       table-names = ["postgres.schema.table"]
       base-url = "jdbc:postgresql://url/postgres"
     }
   }
   
   transform {
   
   }
   
   sink {
     Doris {
       fenodes = "url"
       username = root
       password = "pw"
       database = "${database_name}"
       table = "${table_name}"
       sink.label-prefix = "some_sink"
       sink.enable-2pc = "true"
       sink.enable-delete = "true"
       needs_unsupported_type_casting=true
       schema_save_mode = "CREATE_SCHEMA_WHEN_NOT_EXIST"
       data_save_mode = "APPEND_DATA"
       doris.config {
         format = "json"
         read_json_by_line = "true"
       }
     }
   }`


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to