spark streaming - Sliding window over an interval on Esper -
how achieve same effect of spark streaming sliding window, runs @ x sliding interval on last y window length.
looking @ esper, should win:time , win:time_batch, win:time >= win:time_batch.
in esper equivalent declare context. create context bucketof10sec start @now end after 10 min; context bucketof10sec select sum(price) myevent;
Comments
Post a Comment