1. 问题背景
在开源的dinky flink sql开发平台上, 将mysql CDC数据同步到StarRocks2.3
2. 操作步骤
在 maven 仓库 或者 github上, 下载合适版本的依赖, 然后放到dinky家目录plugins下, 重启dinky
附上依赖图
3. 简单 flink sql 如下
SET pipeline.operator-chaining = false;
SET execution.checkpointing.interval = 15000;
SET table.local-time-zone = Asia/Shanghai;
SET execution.runtime-mode = streaming;
SET execution.checkpointing.tolerable-failed-checkpoints = 5;
SET execution.checkpointing.timeout =600000;
SET execution.checkpointing.externalized-checkpoint-retention = RETAIN_ON_CANCELLATION;
SET execution.checkpointing.mode = EXACTLY_ONCE;
SET execution.checkpointing.unaligned = true;
SET execution.checkpointing.max-concurrent-checkpoints = 1;
SET state.che