flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Govindarajan Srinivasaraghavan <govindragh...@gmail.com>
Subject Task slot data
Date Wed, 09 Aug 2017 04:49:58 GMT
Hi,

I have a complex algorithm running on a flatmap operator and it requires
cache and metrics instances to be passed to various classes. Since the task
slots run on the same JVM, I'm not sure if I will be able to use static
members or singleton classes. Can I use ThreadLocal variables to isolate
the data on a task slot or is there any other approach? Thanks.

Mime
View raw message