Valentin Kulichenko created IGNITE-3637:
-------------------------------------------

             Summary: MemoryEventStorageSpi should not be used by default
                 Key: IGNITE-3637
                 URL: https://issues.apache.org/jira/browse/IGNITE-3637
             Project: Ignite
          Issue Type: Improvement
          Components: general
    Affects Versions: 1.7
            Reporter: Valentin Kulichenko
             Fix For: 1.8


The main use case for events if listening for them in real time. This does not 
require any storage, but we use {{MemoryEventStorageSpi}} by default which 
consumes memory.

We should:
* Create {{NoOpEventStorageSpi}} and make it the default one.
* If the new SPI is used, print out a warning saying that 
{{IgniteEvents.localQuery}} and {{remoteQuery}} methods will not work. If one 
of these methods is called, throw an exception.
* Test Visor, as it can depend on events in some places.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to