Re: Reading static data

2017-07-17 Thread Fabian Hueske
You could either use a broadcast variable [1] or the distributed cache [2]. Best, Fabian [1] https://ci.apache.org/projects/flink/flink-docs-release-1.3/dev/batch/index.html#broadcast-variables [2] https://ci.apache.org/projects/flink/flink-docs-release-1.3/dev/batch/index.html#distributed-cache

Re: Reading static data

2017-07-14 Thread Mohit Anchlia
Is there a way to accomplish this for the batch operations? On Thu, Jul 13, 2017 at 4:59 AM, Timo Walther wrote: > Hi Mohit, > > do you plan to implement a batch or streaming job? If it is a streaming > job: You can use a connected stream (see [1], Slide 34). The static data

Re: Reading static data

2017-07-13 Thread Timo Walther
Hi Mohit, do you plan to implement a batch or streaming job? If it is a streaming job: You can use a connected stream (see [1], Slide 34). The static data is one side of the stream that could be updated from time to time and will always propagated (using a broadcast()) to all workers that do

Reading static data

2017-07-12 Thread Mohit Anchlia
What is the best way to read a map of lookup data? This lookup data is like a small short lived data that is available in transformation to do things like filtering, additional augmentation of data etc.