Mikhail Pryakhin created FLINK-6912:
---------------------------------------

             Summary: 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: DataSet API, DataStream API
    Affects Versions: 1.3.0
            Reporter: Mikhail Pryakhin
            Priority: Minor


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
(v6.4.14#64029)

Reply via email to