Hi Hamza,
Are you getting a particular error? Here is an example :
Stores.create("window-store")
.withStringKeys()
.withStringValues()
.persistent()
.windowed(10, 10, 2, false).build(), "the-processor")
Thanks
Eno
> On 2 Nov 2016, at 08:19, Hamza HACHANI <[email protected]> wrote:
>
> Hi,
>
> I would like to know if somebody has an idea how to define the size of the
> window in the processor api.
>
> I've been blocked for 6 days looking for a solution.
>
> using :
>
> Stores.create(...).withStringKeys().withStringValues().persistent().windowed(...).build()
>
> I was able to define the retention time but not the the size of the window.
>
> Please help me if possible.
>
> Thanks,
>
> Hamza