gaogao110 commented on issue #67123:
URL: https://github.com/apache/doris/issues/67123#issuecomment-5408773078

   CREATE JOB doris_postgres_job_xxx
   ON STREAMING
   FROM POSTGRES (
       "jdbc_url" = "jdbc:postgresql://xxx:5432/xxxx",
       "driver_url" = "postgresql-42.7.8.jar",
       "driver_class" = "org.postgresql.Driver",
       "user" = "xxxxx",
       "password" = "xxxxx",
       "database" = "xxxxx",
       "schema" = "public",
       "include_tables" = "cm_xxxx",
       "offset" = "initial",
       "snapshot_split_size" = "8096",
       "snapshot_parallelism" = "1",
       "publication_name"="dbz_publication"
   )
   TO DATABASE k12cloud_consume (
     "table.create.properties.replication_num" = "1"  -- 单BE部署时需要设置为1
   )


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to