You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by alokyadav12 <al...@gmail.com> on 2019/10/11 15:55:06 UTC

Thick client is not recieving event when Cache is put on main node

Hi,
 we are using Ignite.Net and testing eventing, We had a main node running
and our application connects to node using thin client. we run another node
as thick client and implement eventing on cache put as per documentation and
Ignite.Net examples.
But thick client is not able to get the events when there is new cache entry
is created, but when i add the eventing on main node its able to catch
events.
I had added event types in Cache config as per the document, but still thick
client is not getting event.
Added following in both thick client and node
 <includedEventTypes>
      <int>CacheObjectPut</int>
    </includedEventTypes>


Please suggest if i am missing anything




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Thick client is not recieving event when Cache is put on main node

Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!

If you use local listener, event will only be fired when objects from local
partitions are affected (and client does not have any data partitions).

You can use remote listener, I guess it will still be called on data node
and not on client.

Please consider continuous query if you want to get stream of updated
entries.

Regards,
-- 
Ilya Kasnacheev


пт, 11 окт. 2019 г. в 19:01, alokyadav12 <al...@gmail.com>:

> Hi,
>  we are using Ignite.Net and testing eventing, We had a main node running
> and our application connects to node using thin client. we run another node
> as thick client and implement eventing on cache put as per documentation
> and
> Ignite.Net examples.
> But thick client is not able to get the events when there is new cache
> entry
> is created, but when i add the eventing on main node its able to catch
> events.
> I had added event types in Cache config as per the document, but still
> thick
> client is not getting event.
> Added following in both thick client and node
>  <includedEventTypes>
>       <int>CacheObjectPut</int>
>     </includedEventTypes>
>
>
> Please suggest if i am missing anything
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>