How to store temporary data in an Apache loop?
In a storm topology, a bolt must gain access to previously processed data.
Eg: if the bolt processes varaiable1 with result as 20 at 10:00 AM.
and again varaiable1 taken as 50 at 10:15 AM , then the result should be 30 (50-20)
later, if varaiable1 gets 70 , then the result should be 20 (70-50) at 10:30 .
How to achieve this functionality.
source share