You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Steve Jerman <st...@kloudspot.com> on 2017/10/13 16:40:47 UTC

Question about configuring Rich Functions

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

Re: Question about configuring Rich Functions

Posted by Michael Kobit <mk...@gmail.com>.
This thread [1] is where I asked about it as well.

[1]
http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/LocalStreamEnvironment-configuration-doesn-t-seem-to-be-used-in-RichFunction-operators-td15751.html#a15777


On Fri, Oct 13, 2017 at 9:50 PM Tony Wei <to...@gmail.com> wrote:

> 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
>>
>

Re: Question about configuring Rich Functions

Posted by Tony Wei <to...@gmail.com>.
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
>