Hi,

if the list is static and not too large, you can pass it as a parameter to
the function.
Function objects are serialized (using Java's default serialization) and
shipped to the workers for execution.

If the data is dynamic, you might want to have a look at Broadcast state
[1].

Best, Fabian

[1]
https://ci.apache.org/projects/flink/flink-docs-release-1.5/dev/stream/state/broadcast_state.html

2018-06-21 4:38 GMT+02:00 zhen li <lizhenm...@hotmail.com>:

> Hi,all:
>     I want to use some other broadcast  resources such as list or map  in
> the flatmap function or customer triggers, but I don’t find some api to
> satisfy.
>     Anyone can help?
>     thanks
>
>
>
>

Reply via email to