You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Weijie Guo (Jira)" <ji...@apache.org> on 2024/09/03 04:24:00 UTC

[jira] [Assigned] (FLINK-6912) Consider changing the RichFunction#open method signature to take no arguments.

     [ https://issues.apache.org/jira/browse/FLINK-6912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Weijie Guo reassigned FLINK-6912:
---------------------------------

    Assignee: Weijie Guo

> Consider changing the RichFunction#open method signature to take no arguments.
> ------------------------------------------------------------------------------
>
>                 Key: FLINK-6912
>                 URL: https://issues.apache.org/jira/browse/FLINK-6912
>             Project: Flink
>          Issue Type: Sub-task
>          Components: API / DataSet, API / DataStream
>    Affects Versions: 1.3.0
>            Reporter: Mikhail Pryakhin
>            Assignee: Weijie Guo
>            Priority: Not a Priority
>              Labels: pull-request-available
>             Fix For: 2.0-preview
>
>
> RichFunction#open(org.apache.flink.configuration.Configuration) method takes a Configuration instance as an argument which is always [passed as a new instance|https://github.com/apache/flink/blob/master/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/AbstractUdfStreamOperator.java#L111] bearing no configuration parameters. As I figured out it is a remnant of the past since that method signature originates from the Record API. Consider changing the RichFunction#open method signature to take no arguments as well as actualizing java docs.
> You can find the complete discussion [here|http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/RichMapFunction-setup-method-td13696.html]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)