[ 
https://issues.apache.org/jira/browse/FLINK-23764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17398546#comment-17398546
 ] 

Fabian Paul commented on FLINK-23764:
-------------------------------------

Hi [~ruanhang1993] thanks for opening this ticket. In general, we do not plan 
to expose the RuntimeContext again and rather add the needed fields to some 
kind of `SourceReaderContext`.

 

Can you elaborate more on what kind of information you need and for which use 
case? 

Since the interface is public we also eventually require a FLIP to make changes 
to it.

> add RuntimeContext to SourceReaderContext
> -----------------------------------------
>
>                 Key: FLINK-23764
>                 URL: https://issues.apache.org/jira/browse/FLINK-23764
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / Common
>            Reporter: Hang Ruan
>            Priority: Major
>              Labels: connector
>
> RuntimeContext is the important information for sourceReader. Not only the 
> subtask index, we sometimes need to get other information in RuntimeContext 
> like the operator id.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to