Listen for cache changes

classic Classic list List threaded Threaded
2 messages Options
needbrew99 needbrew99
Reply | Threaded
Open this post in threaded view
|

Listen for cache changes

Hi All,

I have a cache that has 3 SQL tables in it.  There is a loop that listens to a queue that has json strings on it that represent changes to the underlying cache tables.  These are applied to the cache via INSERT/UPDATE/Delete SQL statements.  How can I have Events triggered off of this so that people can listen to those events to know when the cache has been updated?

--
Don't be afraid to be wrong. Don't be afraid to admit you don't have all the answers. Don't be afraid to say "I think" instead of "I know."
stephendarlington stephendarlington
Reply | Threaded
Open this post in threaded view
|

Re: Listen for cache changes

You can use Continuous Queries to “listen” to changes in your caches: https://apacheignite.readme.io/docs/continuous-queries

Regards,
Stephen

On 15 Apr 2019, at 12:22, Mike Needham <[hidden email]> wrote:

Hi All,

I have a cache that has 3 SQL tables in it.  There is a loop that listens to a queue that has json strings on it that represent changes to the underlying cache tables.  These are applied to the cache via INSERT/UPDATE/Delete SQL statements.  How can I have Events triggered off of this so that people can listen to those events to know when the cache has been updated?

--
Don't be afraid to be wrong. Don't be afraid to admit you don't have all the answers. Don't be afraid to say "I think" instead of "I know."