【Flink 实战系列】Incremental snapshot for tables requires primary key, but table test.ab doesn’t have primary key
问题背景
今天有同学问了这么一个问题,在使用 Flink CDC 同步数据到 Hudi 时,任务抛出异常,完整的报错信息如下所示:文章来源地址https://www.toymoban.com/news/detail-403428.html
org.apache.flink.util.FlinkException: Global failure triggered by OperatorCoordinator for 'Source: mysql_cdc[5]' (operator 1fcd650af251e8033f91cba4d16ab1ec).
at org.apache.flink.runtime.operators.coordination.OperatorCoordinatorHolder$LazyInitializedCoordinatorContext.failJob(OperatorCoordinatorHolder.java:556)
at org.apache.flink.runtime.operators.coordination.RecreateOnResetOperatorCoordinator$QuiesceableContext.failJob(RecreateOnResetOperatorCoordinator.java:231)
at org.apache.flink.runtime.source.coordinator.SourceCoordinatorContext.failJob(SourceCoordinatorContext.java:316)
at o
文章来源:https://www.toymoban.com/news/detail-403428.html
到了这里,关于【Flink 实战系列】Incremental snapshot for tables requires primary key, but table test.ab doesn’t have pri的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!