Question about configuring Rich Functions

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Question about configuring Rich Functions

Steve Jerman

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


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

Reply | Threaded
Open this post in threaded view
|

Re: Question about configuring Rich Functions

Tony Wei
Hi Steve,

I think the discussion in this thread [1] could answer your questions.

Best Regards,
Tony Wei


Steve Jerman <[hidden email]>於 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

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

Reply | Threaded
Open this post in threaded view
|

Re: Question about configuring Rich Functions

Michael Kobit

On Fri, Oct 13, 2017 at 9:50 PM Tony Wei <[hidden email]> wrote:
Hi Steve,

I think the discussion in this thread [1] could answer your questions.

Best Regards,
Tony Wei


Steve Jerman <[hidden email]>於 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

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