[
https://issues.apache.org/jira/browse/FLINK-35296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17848028#comment-17848028
]
Gang Yang edited comment on FLINK-35296 at 5/21/24 2:19 AM:
------------------------------------------------------------
Hi,[~ruanhang1993]
At present, I found that I am stuck
in:com.ververica.cdc.connectors.mysql.debezium.reader.SnapshotSplitReader#close
mainly here:
if (statefulTaskContext.getBinaryLogClient() != null)
{ statefulTaskContext.getBinaryLogClient().disconnect(); }
was (Author: 清月):
At present, I found that I am stuck
in:com.ververica.cdc.connectors.mysql.debezium.reader.SnapshotSplitReader#close
mainly here:
if (statefulTaskContext.getBinaryLogClient() != null) {
statefulTaskContext.getBinaryLogClient().disconnect();
}
> Flink mysql-cdc connector stops reading data
> --------------------------------------------
>
> Key: FLINK-35296
> URL: https://issues.apache.org/jira/browse/FLINK-35296
> Project: Flink
> Issue Type: Bug
> Components: Flink CDC
> Affects Versions: cdc-3.1.0
> Reporter: Gang Yang
> Priority: Major
> Fix For: cdc-3.2.0
>
> Attachments: image-2024-05-06-17-42-19-059.png,
> image-2024-05-14-11-25-55-565.png
>
>
> *Background:*
> Consume sub-database and sub-table data through regular expressions,
> scan.startup.mode=initial
> *Problems:*
> 1. The task occurs during the snapshot data synchronization phase;
> 2. After the task runs normally for a period of time, no more data will be
> read. In fact, there is still a lot of data in the upstream Mysql table;
> 3. When the task is restarted from the state, it will read normally for a
> period of time and then stop reading.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)