Aw: Re: Pull data from Redis every minute

2016-06-02 Thread Daniela S
bolt or with the tick tuple in a bolt instead of the spout?   Thank you and regards, Daniela   Gesendet: Sonntag, 08. Mai 2016 um 19:44 Uhr Von: "Spico Florin" <spicoflo...@gmail.com> An: "user@storm.apache.org" <user@storm.apache.org> Betreff: Re: Pull

Re: Pull data from Redis every minute

2016-05-08 Thread Spico Florin
hi! for me it looks like proceesing the data in a specific window. you coul achive this by using the new feature in storm 1.0 namely window bolt. via spout you get the data thta you need and in the window bolt do the sum. be careful with the time thta you are using processing time versus event

Re: Pull data from Redis every minute

2016-05-07 Thread Erik Weathers
If you need something to be done at a regular interval within Storm you might wanna leverage the "tick tuple" concept: - http://kitmenke.com/blog/2014/08/04/tick-tuples-within-storm/ On Fri, May 6, 2016 at 11:53 PM, Daniela S wrote: > Hi, > > I would like to use Redis

Pull data from Redis every minute

2016-05-07 Thread Daniela S
Hi,   I would like to use Redis as a kind of cache for my active devices. So i receive a message over Kafka with an active device and store it in Redis.  Now I would like to pull all active devices from Redis and to add a specific value to each device and to build a sum afterwards. How can I