[
https://issues.apache.org/jira/browse/FLINK-26587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506187#comment-17506187
]
Timo Walther commented on FLINK-26587:
--------------------------------------
`RichFunction#open` is actually legacy. It is not the Flink configuration but a
special configuration object that could be set via something similar to
`DataSet.setParameters()`. The Flink configuration is available via the
`getRuntimeContext`.
> Replace Configuration arg of RichFunction#open with ReadableConfig
> ------------------------------------------------------------------
>
> Key: FLINK-26587
> URL: https://issues.apache.org/jira/browse/FLINK-26587
> Project: Flink
> Issue Type: Improvement
> Components: API / Core
> Reporter: Marios Trivyzas
> Priority: Major
>
> It would be nice to replace the more concrete *Configuration* with
> *ReadableConfig* since according the the javadoc description of the method
> *RichFunction#open* the Configuration is a read-only object from which the
> function can retrieve and use config options.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)