[
https://issues.apache.org/jira/browse/FLINK-30234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17652854#comment-17652854
]
Wencong Liu commented on FLINK-30234:
-------------------------------------
Hello [~renqs] , I think this is a reasonable improvement. I'd like to take
this ticket, could you assign this to me?
> 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
> 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)