master
old-tom 6 months ago
parent 5621a2f5b8
commit 1d4bb3831b

@ -30,3 +30,23 @@ set global gtid_mode=ON;
```
### 二、source配置
```text
source {
  MySQL-CDC {
    base-url = "jdbc:mysql://172.31.51.244:3306/bjpt_v4_wlmq"
    username = "manager"
    password = "manager2!@#"
  database-names = ["bjpt_v4_wlmq"]
    table-names = ["bjpt_v4_wlmq.ryhcs_t_bqgl"]
    startup.mode = "initial"
  schema-changes.enabled = true
  server-id = "6500-7500"
  table-names-config = [
      {
        table = "bjpt_v4_wlmq.ryhcs_t_bqgl"
        primaryKeys = ["ID"]
      }
    ]
  }
}
```

@ -173,3 +173,14 @@ $ docker-compose --profile all up -d
cd E:\code\opensource\dify\docker
docker compose up -d
```
+ seatunel 集群
集群搭建 G:\docker\compose\seatunnel
```shell
docker-compose up -d
```
提交配置
```shell
docker run --name seatunnel_client --network seatunnel_seatunnel_network -e ST_DOCKER_MEMBER_LIST=172.16.0.2:5801 -v E:\\tmp\\st\\mysql_cdc_test_2.template:/opt/seatunnel/config/mysql_cdc_test_2.template --rm apache/seatunnel ./bin/seatunnel.sh -c config/mysql_cdc_test_2.template
```
Loading…
Cancel
Save