Skip to content
Discussion options

You must be logged in to vote

In initial mode, flink cdc use incremental snapshot.

An incremental snapshot divides the table into chunks, and fetches the data from the table on a chunk-by-chunk.

During this process, a JDBC connection is created.

A JDBC connection is created before fetching a chunk, and the JDBC connection is released when the task of fetching the chunk is finished.

You can see this in MySqlSplitReader.java

Have a nice day😄😄

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wloverine
Comment options

Answer selected by wloverine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants