开发者社区 > 大数据与机器学习 > 实时计算 Flink > 正文

flink任务报错,如何解决?

flink任务报错,如何解决?用的是rds mysql Caused by: io.debezium.DebeziumException: The slave is connecting using CHANGE MASTER TO MASTER_AUTO_POSITION = 1, but the master has purged binary logs containing GTIDs that the slave requires. Replicate the missing transactions from elsewhere, or provision a new slave from backup. Consider increasing the master's binary log expiration period. The GTID sets and the missing purged transactions are too long to print in this message. For more information, please see the master's error log or the manual for GTID_SUBTRACT. Error code: 1236; SQLSTATE: HY000.
at io.debezium.connector.mysql.MySqlStreamingChangeEventSource.wrap(MySqlStreamingChangeEventSource.java:1682) ~[?:?]

展开
收起
三分钟热度的鱼 2024-08-07 20:00:31 40 0
1 条回答
写回答
取消 提交回答
  • 应该是binlog日志过期了,把binlog日志时间设置久一点。 此回答整理自钉群“实时计算Flink产品外部客户交流群”

    2024-08-07 22:10:27
    赞同 5 展开评论 打赏

实时计算Flink版是阿里云提供的全托管Serverless Flink云服务,基于 Apache Flink 构建的企业级、高性能实时大数据处理系统。提供全托管版 Flink 集群和引擎,提高作业开发运维效率。

相关产品

  • 实时计算 Flink版
  • 相关电子书

    更多
    Flink CDC Meetup PPT - 龚中强 立即下载
    Flink CDC Meetup PPT - 王赫 立即下载
    Flink CDC Meetup PPT - 覃立辉 立即下载