Hi Steve, I think the discussion in this thread [1] could answer your questions.
Best Regards, Tony Wei [1] http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/RichMapFunction-parameters-in-the-Streaming-API-td16121.html Steve Jerman <st...@kloudspot.com>於 2017年10月14日 週六,上午12:41寫道: > This document: > > > https://ci.apache.org/projects/flink/flink-docs-release-1.3/dev/best_practices.html#parsing-command-line-arguments-and-passing-them-around-in-your-flink-application > Apache Flink 1.3 Documentation: Best Practices > <https://ci.apache.org/projects/flink/flink-docs-release-1.3/dev/best_practices.html#parsing-command-line-arguments-and-passing-them-around-in-your-flink-application> > ci.apache.org > Application Development; Best Practices; Best Practices. This page > contains a collection of best practices for Flink programmers on how to > solve frequently ... > > describes the use of 'withParameters' to pass configuration into > RichFunctions. Is this supported for streams? > > > The .withParameters method doesn't seem to exist on stream operations ... > map, window,filter .... > > > Is this dataset only? If so, might be worth clarifying in docs. If so, is > there anyway to pass config via the open method in streams... seems not. > > > Steve >