0

I have some application written in JAVA. We are using MySQL DB. It is possible to integrate that MySQL DB with Apache Ignite as In Memory cache and use that configuration without any updates in JAVA application (of course some DB connection details should be changed)?

So my application do the same staff but only difference will be connection with Apache Ignite instead of MySQL?

It is possible this kind of configuration?

Robert
  • 338
  • 5
  • 16

1 Answers1

1

I suppose you are looking for the write-through feature. I'm not sure what is your use case, but you should be aware of some limitations like your data have to be preloaded into Ignite before running SELECT queries. From a very abstract perspective, you need to define POJOs and implement a custom CacheStore interface. Though GridGain Control Center can do the latter for you automatically, check this demo as a reference.

Stephen Darlington
  • 51,577
  • 12
  • 107
  • 152
Alexandr Shapkin
  • 2,350
  • 1
  • 6
  • 10