[
https://issues.apache.org/jira/browse/FLINK-1422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14307336#comment-14307336
]
ASF GitHub Bot commented on FLINK-1422:
---------------------------------------
Github user zentol commented on a diff in the pull request:
https://github.com/apache/flink/pull/350#discussion_r24168173
--- Diff: docs/programming_guide.md ---
@@ -2398,6 +2399,61 @@ of a function, or use the `withParameters(...)`
method to pass in a configuratio
[Back to top](#top)
+Passing parameters to functions
+-------------------
+
+Parameters can be passed to rich functions using either the constructor
(if the function is
--- End diff --
ok, so which requirements do exist for the operator to be serializable? or
can i just omit those details and say something like "parameters can be stored
in non-transient fields if the function is serializable".
> Missing usage example for "withParameters"
> ------------------------------------------
>
> Key: FLINK-1422
> URL: https://issues.apache.org/jira/browse/FLINK-1422
> Project: Flink
> Issue Type: Improvement
> Components: Documentation
> Affects Versions: 0.8
> Reporter: Alexander Alexandrov
> Assignee: Chesnay Schepler
> Priority: Trivial
> Fix For: 0.8.1
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> I am struggling to find a usage example of the "withParameters" method in the
> documentation. At the moment I only see this note:
> {quote}
> Note: As the content of broadcast variables is kept in-memory on each node,
> it should not become too large. For simpler things like scalar values you can
> simply make parameters part of the closure of a function, or use the
> withParameters(...) method to pass in a configuration.
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)