Apache Ignite Spring-Data (IgniteRepository), Apache Ignite Spring Cache (SpringCacheManager) with thin-client and thick-client

Viewed 434
  1. Is it possible to use a THIN-client with Ignite Spring-Data (IgniteRepository) and Ignite Spring Cache (SpringCacheManager) ?

  2. Is it possible to use a THICK-client with Ignite Spring-Data (IgniteRepository) and Ignite Spring Cache (SpringCacheManager) ?

PS:

THIN-client - use interface IgniteClient,

THICK-client - igniteConfiguration.setClientMode(true)

2 Answers

It is expected in 2.11 version:

https://github.com/apache/ignite-extensions

https://github.com/apache/ignite-extensions/tree/master/modules/spring-cache-ext

https://github.com/apache/ignite-extensions/blob/master/modules/spring-cache-ext/src/main/java/org/apache/ignite/cache/spring/IgniteClientSpringCacheManager.java

There are two implementations of Apache Ignite Spring Cache Manager - org.apache.ignite.cache.spring.SpringCacheManager and org.apache.ignite.cache.spring.IgniteClientSpringCacheManager, that provide ability to use the Ignite thick or thin client to connect to the Ignite cluster and manage Ignite caches, respectively. Note, that org.apache.ignite.cache.spring.IgniteClientSpringCacheManager can be used only with Ignite since 2.11.0 version.

Related