Flink CDC Issue Import created FLINK-34863:
----------------------------------------------
Summary: Need report metric or other ways to indicate whether the
current is Incremental Snapshot Reading or binlog reading
Key: FLINK-34863
URL: https://issues.apache.org/jira/browse/FLINK-34863
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
I think flink cdc needs to report to the outside whether it is an incremental
snapshot read. I found that after I started the task, even in the incremental
snapshot read phase, the indicators
The value of `currentFetchEventTimeLag` is always 0, which will obviously cause
a certain degree of misunderstanding
![image|https://github.com/ververica/flink-cdc-connectors/assets/40817998/3ba502cf-3691-432e-ba85-5f14ab638eb8]
### Solution
This information should be reported
### Alternatives
_No response_
### Anything else?
_No response_
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
---------------- Imported from GitHub ----------------
Url: https://github.com/apache/flink-cdc/issues/3001
Created by: [huyuanfeng2018|https://github.com/huyuanfeng2018]
Labels: enhancement,
Created at: Mon Jan 15 17:39:16 CST 2024
State: open
--
This message was sent by Atlassian Jira
(v8.20.10#820010)