You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Mikael <mi...@telia.com> on 2018/11/09 12:11:14 UTC

Events question

Hi!

The event documentation say you can query events, so they are stored 
locally, how long does it store them ? can I control this in any way ? 
say I just want to use event listeners and not interested in query them, 
so no use to keep them around once they have been caught by the 
listener, is that possible ?

It sounds like keeping lots of events around after they have been 
triggered would be wasting memory, or maybe it would not make any 
difference ?

Mikael



Re: Events question

Posted by Павлухин Иван <vo...@gmail.com>.
Hi Mikael,

In order to use event storage you should configure EventStorageSpi.
By default an event storage is not enabled. Which fits your case.

You can find more details about event storage in [1].

[1]
https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/spi/eventstorage/memory/MemoryEventStorageSpi.html

пт, 9 нояб. 2018 г. в 15:11, Mikael <mi...@telia.com>:

> Hi!
>
> The event documentation say you can query events, so they are stored
> locally, how long does it store them ? can I control this in any way ?
> say I just want to use event listeners and not interested in query them,
> so no use to keep them around once they have been caught by the
> listener, is that possible ?
>
> It sounds like keeping lots of events around after they have been
> triggered would be wasting memory, or maybe it would not make any
> difference ?
>
> Mikael
>
>
>

-- 
Best regards,
Ivan Pavlukhin