Flink CDC Issue Import created FLINK-34807:
----------------------------------------------
Summary: [Feature][mysql] Mysql-cdc source adapts mariadb.
Key: FLINK-34807
URL: https://issues.apache.org/jira/browse/FLINK-34807
Project: Flink
Issue Type: Improvement
Components: Flink CDC
Reporter: Flink CDC Issue Import
### Search before asking
- [X] I searched in the
[issues|https://github.com/ververica/flink-cdc-connectors/issues] and found
nothing similar.
### Motivation
Currently, MySQL-CDC Source will have the following problems when reading
MariaDB:
1. Can not receive mariadb gtidSet event from mariadb server
2. Can not compare mariadb gtidSet when restart from specific binlog offset/
### Solution
1. overrride BinaryLogClient.requestBinaryLogStreamMaria method to get mariadb
gtidSet event
2. Identify gtidSet type in BinlogOffset.compareTo method.
### Alternatives
_No response_
### Anything else?
_No response_
### Are you willing to submit a PR?
- [X] I'm willing to submit a PR!
---------------- Imported from GitHub ----------------
Url: https://github.com/apache/flink-cdc/issues/2398
Created by: [ThisisWilli|https://github.com/ThisisWilli]
Labels: enhancement,
Created at: Wed Aug 16 12:11:05 CST 2023
State: open
--
This message was sent by Atlassian Jira
(v8.20.10#820010)