flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Schmidtke <ro.schmid...@gmail.com>
Subject Configuring a RichFunction on a DataStream
Date Thu, 28 Apr 2016 08:33:03 GMT
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

Mime
View raw message