Configuring a RichFunction on a DataStream

Posted by Robert Schmidtke on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Configuring-a-RichFunction-on-a-DataStream-tp6525.html

Hi everyone,

I noticed that in the DataSet API, there is the .withParameters function that allows passing values to a RichFunction's open method. I was wondering whether a similar approach can be used to the same thing in a DataStream. Right now I'm getting the parameters via getRuntimeContext, but it feels a little awkward given the available Configuration object.

Thanks!

Robert


--
My GPG Key ID: 336E2680