SYNC-JOB 是否支持canal集群模式?

Viewed 29

canal.server.ip
canal.server.port
只支持写canal-server的ip端口吗?
是否支持写canal集群的zkServer地址?

CREATE SYNC `test_db`.`job1`
(
    FROM `mysql_db1`.`tbl1` INTO `test_tbl `
)
FROM BINLOG
(
    "type" = "canal",
    "canal.server.ip" = "127.0.0.1",
    "canal.server.port" = "11111",
    "canal.destination" = "example",
    "canal.username" = "",
    "canal.password" = ""
);
1 Answers

Canal 不建用了,这块已经很久不维护了,同步mysql的数据建议flink cdc的方式
参考:flink doris connector