[
https://issues.apache.org/jira/browse/FLINK-30234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Qingsheng Ren reassigned FLINK-30234:
-------------------------------------
Assignee: Hongshun Wang (was: Wencong Liu)
> SourceReaderBase should provide an option to disable numRecordsIn metric
> registration
> -------------------------------------------------------------------------------------
>
> Key: FLINK-30234
> URL: https://issues.apache.org/jira/browse/FLINK-30234
> Project: Flink
> Issue Type: Improvement
> Components: Connectors / Common
> Affects Versions: 1.17.0
> Reporter: Qingsheng Ren
> Assignee: Hongshun Wang
> Priority: Major
>
> Currently the numRecordsIn metric is pre-registered for all sources in
> SourceReaderBase. Considering different implementation of source reader, the
> definition of "record" might differ from the one we use in SourceReaderBase,
> hence numRecordsIn might be inaccurate.
> We could introduce an option in SourceReader to disable the registration of
> numRecordsIn in SourceReaderBase and let the actual implementation to report
> the metric instead.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)