[
https://issues.apache.org/jira/browse/FLINK-29944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17630989#comment-17630989
]
hk__lrzy commented on FLINK-29944:
----------------------------------
[~luoyuxia] this is from
[FLIP-27|https://cwiki.apache.org/confluence/display/FLINK/FLIP-27%3A+Refactor+Source+Interface]
i want to extend source reader context to align with runtimecontext.
> Support accumulator in source reader
> ------------------------------------
>
> Key: FLINK-29944
> URL: https://issues.apache.org/jira/browse/FLINK-29944
> Project: Flink
> Issue Type: Improvement
> Components: API / DataStream
> Affects Versions: 1.17.0
> Reporter: hk__lrzy
> Priority: Critical
> Labels: pull-request-available
>
> Source Reader is mainly for union batch and streaming logic in single
> interface, it's good point for the developer, but in the {{SourceFunction}}
> we can access {{runtimeconext}} to use accumulator before, now the
> {{SourceReaderContext}} have no method for it, this PR is mainly to support
> it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)