Hi, You can use a combination of LocalListen and Services, Messaging or Compute to achieve something similar to RemoteListen, depending on the use case.
If you explain the use case in more detail, I can suggest a specific approach. Thanks, Pavel On Mon, Jan 18, 2021 at 7:42 PM Jigna <[email protected]> wrote: > Hi Team, > > I am using Ignite through Gridgain community version. Our application is in > c#/.net. We have deployed our application on k8s cluster. > > Our server node generates the cache events and I want to write a listener > to > listen to them. But, Ignite c# API does not support remote listening. So I > can not write the listener on my client node for cache events, which are > generated on the server. Now, if I want to listen the events, I want to > write a listener on server only. But, I am not sure how to register my > listener on the server node. E.g. > > events.LocalListen(new LocalListener(), EventType.CacheObjectPut, > EventType.CacheObjectRead, > EventType.CacheObjectRemoved); > > I can change the server Ignite configuration to enable the event types, but > can I register my listener in the configuration? > > <property name="includeEventTypes"> > <list> > <util:constant > static-field="org.apache.ignite.events.EventType.EVT_CACHE_OBJECT_PUT"/> > <util:constant > static-field="org.apache.ignite.events.EventType.EVT_CACHE_OBJECT_READ"/> > <util:constant > > static-field="org.apache.ignite.events.EventType.EVT_CACHE_OBJECT_REMOVED"/> > <util:constant > static-field="org.apache.ignite.events.EventType.EVT_NODE_LEFT"/> > <util:constant > static-field="org.apache.ignite.events.EventType.EVT_NODE_JOINED"/> > </list> > </property> > > Would you please help me to register my event listener on the server node? > > Thanks, > Jigna. > > > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >
