Skip to content

[Bug] [chunjun-connector-binlog] Skipping unrecognized binlog event Unknown type:41 from: mysql-bin.xxx #1895

@Icarus-Alpha

Description

@Icarus-Alpha

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

mysql版本:8.0.31
当我使用local-test模式,运行example中binlog的同步任务时,无法正常解析binlog日志。

WARN com.taobao.tddl.dbsync.binlog.LogDecoder - Skipping unrecognized binlog event Unknown type:41 from: mysql-bin.000002:1963402
WARN com.taobao.tddl.dbsync.binlog.LogDecoder - Skipping unrecognized binlog event Unknown type:41 from: mysql-bin.000002:1963402
image

经排查为chunjun的binlog connector使用的是canal1.1.6,对 mysql 8.0 版本的binlog部分格式无法识别,在canal1.1.7修复了这个问题。
canal1.1.7

What you expected to happen

正常打印数据变更记录。
image

How to reproduce

使用mysql版本8.0.31,运行binlog_stream.json

Anything else

No response

Version

master

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions