Sriveena,

CacheStore
<https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/cache/store/CacheStore.html>
extends
the CacheWriter
<https://static.javadoc.io/javax.cache/cache-api/1.0.0/javax/cache/integration/CacheWriter.html>
interface, which has delete
<https://static.javadoc.io/javax.cache/cache-api/1.0.0/javax/cache/integration/CacheWriter.html#delete(java.lang.Object)>
and deleteAll
<https://static.javadoc.io/javax.cache/cache-api/1.0.0/javax/cache/integration/CacheWriter.html#deleteAll(java.util.Collection)>
methods, which will be called by Ignite, when you remove entries from
Ignite caches.
write
<https://static.javadoc.io/javax.cache/cache-api/1.0.0/javax/cache/integration/CacheWriter.html#write(javax.cache.Cache.Entry)>
and writeAll
<https://static.javadoc.io/javax.cache/cache-api/1.0.0/javax/cache/integration/CacheWriter.html#writeAll(java.util.Collection)>
methods will be called, when you put some data into cache.
It works the same way with MySQL or any other relational DB.
So, CacheStore gives you a possibility to implement synchronization with
any external data source. You can do it for MongoDB, if you need.

Denis

ср, 27 июн. 2018 г. в 13:18, Sriveena Mattaparthi <
[email protected]>:

> Thanks Denis for the pointers.
>   But the case explained in https://www.youtube.com/watch?v=XBtI2Z01kAA -
>  Using Ignite Web Console for Automatic RDBMS Integration with Apache
> Ignite - Part 3. shows that any deletions happening on ignite cache are
> getting reflected in the mysql database.   Which I thought is ignite
> feature of autosyncing data to and from RDBMS databases. Please correct
> my understanding.   Thanks & Regards, Sriveena
>
>
>
> *From:* Denis Mekhanikov [mailto:[email protected]]
> *Sent:* Wednesday, June 27, 2018 3:28 PM
>
>
> *To:* [email protected]
> *Subject:* Re: Information regarding Ignite Web Console
>
>
>
> Sriveena,
>
>
>
> Web Console can generate schema in Ignite based on an existing schema in a
> relational database.
>
> But you can do it yourself, without use of Web Console.
>
> Web Console only makes it easier to wire-up stuff, i.e. generate required
> data classes and configuration.
>
>
>
> Unfortunately, this feature is not available for NoSQL databases. But you
> still can configure everything yourself.
>
> You will need to implement a CacheStore
> <https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fignite.apache.org%2Freleases%2Flatest%2Fjavadoc%2Forg%2Fapache%2Fignite%2Fcache%2Fstore%2FCacheStore.html&data=02%7C01%7CSriveena.Mattaparthi%40ekaplus.com%7Cf4918a96e28644d507b908d5dc1491ba%7C2a5b4e9716be4be4b2d40f3fcb3d373c%7C1%7C0%7C636656903279754570&sdata=V09AYASdhDUexLS4ZNs44zvEWjJ1lmZFqjVRwQft2xs%3D&reserved=0>,
> that will load data from your database into Ignite.
>
> Here is documentation on this feature:
> https://apacheignite.readme.io/docs/3rd-party-store
> <https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapacheignite.readme.io%2Fdocs%2F3rd-party-store&data=02%7C01%7CSriveena.Mattaparthi%40ekaplus.com%7Cf4918a96e28644d507b908d5dc1491ba%7C2a5b4e9716be4be4b2d40f3fcb3d373c%7C1%7C0%7C636656903279754570&sdata=9w94GuXNlswyUb9XshSsZtol3Qp8ib7GIk9dpwbZiYQ%3D&reserved=0>
>
>
>
> Denis
>
>
>
> ср, 27 июн. 2018 г. в 12:41, Sriveena Mattaparthi <
> [email protected]>:
>
> Hi Denis,
>
>
>
> Thank you so much for the quick turn around
>
> Could you also confirm if there is a similar integration from ignite to
> NoSQL database like MongoDB ?
>
>
>
> Our requirement also has mongo db changes to be automatically synced up to
> Ignite?
>
>
>
> Please help.
>
>
>
> Thanks & Regards,
> Sriveena
>
>
>
> *From:* Denis Mekhanikov [mailto:[email protected]]
> *Sent:* Wednesday, June 27, 2018 2:58 PM
> *To:* [email protected]
> *Subject:* Re: Information regarding Ignite Web Console
>
>
>
> Sriveena,
>
>
>
> You can find sources of Web Console in the Ignite Git repository:
> https://github.com/apache/ignite/tree/master/modules/web-console
> <https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fignite%2Ftree%2Fmaster%2Fmodules%2Fweb-console&data=02%7C01%7CSriveena.Mattaparthi%40ekaplus.com%7C1bd39c9b865f43eca6d408d5dc104bee%7C2a5b4e9716be4be4b2d40f3fcb3d373c%7C1%7C0%7C636656884921777570&sdata=J6LSkoURVCvHJDnKyWrjpFRj02E9T0njpXSxFJPJAvU%3D&reserved=0>
>
>
>
> If you want to run Web Console by yourself, you can use the following
> Docker image:
> https://hub.docker.com/r/apacheignite/web-console-standalone/
> <https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhub.docker.com%2Fr%2Fapacheignite%2Fweb-console-standalone%2F&data=02%7C01%7CSriveena.Mattaparthi%40ekaplus.com%7C1bd39c9b865f43eca6d408d5dc104bee%7C2a5b4e9716be4be4b2d40f3fcb3d373c%7C1%7C0%7C636656884921777570&sdata=xQKYRGlEn9UQQ2EDM9nc6RTZLEbHH7eCl7vGCf2UbLM%3D&reserved=0>
>
> There is also Web Console, hosted by GridGain, available at
> https://console.gridgain.com/
> <https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fconsole.gridgain.com%2F&data=02%7C01%7CSriveena.Mattaparthi%40ekaplus.com%7C1bd39c9b865f43eca6d408d5dc104bee%7C2a5b4e9716be4be4b2d40f3fcb3d373c%7C1%7C0%7C636656884921787575&sdata=yyxqlC%2BcnR9yLRwgGxD6aCvy0t9eh2J4djvNsztr2YM%3D&reserved=0>
>
>
>
> Denis
>
>
>
> ср, 27 июн. 2018 г. в 10:14, Sriveena Mattaparthi <
> [email protected]>:
>
> Hi,
>
> I am interested to know if Ignite Webconsole is opensource as the document
> says
>
> Ignite can integrate with any relational database (RDBMS) that supports a
> JDBC driver - Oracle, PostgreSQL, Microsoft SQL Server, and MySQL
>
> Ignite supports automatic RDBMS integration via Ignite Web Console
> <https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fconsole.gridgain.com%2F&data=02%7C01%7CSriveena.Mattaparthi%40ekaplus.com%7C1bd39c9b865f43eca6d408d5dc104bee%7C2a5b4e9716be4be4b2d40f3fcb3d373c%7C1%7C0%7C636656884921797580&sdata=CorLQYS%2FCirN%2BOxK72fvwKFGL5E%2BSQ%2FY4Qn0hPzNvW0%3D&reserved=0>
> .
>
> Please confirm.
>
> Thanks & Regards,
>
> Sriveena
>
>
>
>

Reply via email to