You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by M Singh <ma...@yahoo.com> on 2016/06/03 12:23:06 UTC
Ignite - Question about update counter field for continuous queries
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
Re: Ignite - Question about update counter field for continuous
queries
Posted by M Singh <ma...@yahoo.com>.
Thanks Alexey for the answer.
On Friday, June 3, 2016 9:36 AM, Alexey Goncharuk <al...@gmail.com> wrote:
Hi,
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 <ma...@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
Re: Ignite - Question about update counter field for continuous queries
Posted by Alexey Goncharuk <al...@gmail.com>.
Hi,
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 <ma...@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
>