Hi KristoffSC,

it would be better if you'd open up a new thread. It's very rare for users
to check user lists after 1 year on a regular basis.

In general, if you have a cache, you usually don't want to serialize it. So
add the cache as a field inside the respective function (rewrite a lambda
to an anonymous class) and make the field transient to avoid serialization.
Be aware that you usually want to initialize the cache in your open()
function (so you need to use a RichXFunction).

Best,

Arvid

On Fri, Dec 6, 2019 at 1:23 PM KristoffSC <krzysiek.chmielew...@gmail.com>
wrote:

> Hi,
> Im having the same problem now.  What is your approach now after gaining
> some experience?
>
> Also do you use Spring DI to setup/initialize your jobs/process functions?
>
>
>
> --
> Sent from:
> http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
>

Reply via email to