Re: accessing state-store ala WordCount example

2016-12-07 Thread Eno Thereska
Hi Jon, The "/windowed" namel in the web server example is just an example name, it could have been called differently too. It is built however on the Interactive Query APIs which are fixed. In the example code I mentioned we see the implementation as shown below. Again, the web server code is

Re: accessing state-store ala WordCount example

2016-12-07 Thread Jon Yeargers
Im having trouble finding documentation on this new feature. Can you point me to anything? Specifically on how to get available "from/to" values but more generally on how to use the "windowed" query. On Wed, Dec 7, 2016 at 1:25 AM, Eno Thereska wrote: > Hi Jon, > > This will be a windowed store

Re: accessing state-store ala WordCount example

2016-12-07 Thread Eno Thereska
Hi Jon, This will be a windowed store. Have a look at the Jetty-server bits for windowedByKey: "/windowed/{storeName}/{key}/{from}/{to}" Thanks Eno > On 6 Dec 2016, at 23:33, Jon Yeargers wrote: > > I copied out some of the WordCountInteractive >

accessing state-store ala WordCount example

2016-12-06 Thread Jon Yeargers
I copied out some of the WordCountInteractive demo code to see how the REST access works. I have an aggregator groupByKey().agg