[ 
https://issues.apache.org/jira/browse/FLINK-41658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated FLINK-41658:
-----------------------------------
    Labels: pull-request-available  (was: )

> Fluss source client metrics can disappear after table resubscription
> --------------------------------------------------------------------
>
>                 Key: FLINK-41658
>                 URL: https://issues.apache.org/jira/browse/FLINK-41658
>             Project: Flink
>          Issue Type: Improvement
>          Components: Flink CDC
>            Reporter: Xiaobing Fang
>            Priority: Major
>              Labels: pull-request-available
>
> When a Fluss source subtask unsubscribes from its last table and later 
> subscribes again, the replacement reader can consume records while client 
> metrics such as \{{recordsLag}} are missing from Flink.
> h2. Steps to reproduce
> # Run a Fluss CDC pipeline with source parallelism 1 and one subscribed 
> table. Confirm that the source consumes records and reports \{{recordsLag}}.
> # Unsubscribe from the table and let Flink retire the idle fetcher.
> # Subscribe to the table again, append records, and check \{{recordsLag}} 
> after the source resumes reading.
> *Actual result:* The source consumes the new records, but \{{recordsLag}} can 
> remain absent.
> *Expected result:* The replacement scanner registers its client metrics, and 
> \{{recordsLag}} reflects its progress as it consumes records.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to