ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Goncharuk <alexey.goncha...@gmail.com>
Subject Re: Ignite - Question about update counter field for continuous queries
Date Fri, 03 Jun 2016 16:36:32 GMT

Ignite client automatically checks the partition counter and filters out
duplicate events, you do not need to do it manually to get rid of
duplicates. However, starting from Ignite 1.6 update counter is available
through CacheQueryEvent API.

2016-06-03 5:23 GMT-07:00 M Singh <mans2singh@yahoo.com>:

> Hi Folks:
> I have a question about once only event delivery for continuous queries.
> The document (https://apacheignite.readme.io/docs/continuous-queries)
> indicates that there is a per partition update counter which is sent to the
> client along with the change notification.  I checked the CacheEntryEvent
> and could not find the update counter field.  Also, is this field (update
> counter) handled internally by Ignite client library (dropping duplicate
> events on the client side) or does the client listener has to check it in
> case of duplicate events.  If the client listener has to check the update
> counter, please let me know how to access this field.
> Thanks
> Mans

View raw message