项目作者: raycheung

项目描述 :
Apache Ignite hooked with Spring Data for Apache Cassandra
高级语言: Java
项目地址: git://github.com/raycheung/ignite-spring-data-cassandra.git
创建时间: 2020-06-21T08:12:20Z
项目社区:https://github.com/raycheung/ignite-spring-data-cassandra

开源协议:The Unlicense

下载


Apache Ignite with Spring Data for Apache Cassandra

This is a simple straight-forward integration example to leverage
Spring Data for Apache Cassandra as a read-through & write-through
cache store backend for the high-performance Apache Ignite.

Why not the ignite-cassandra-store?

I found the implementation contains a lot of boilerplate code which goes all the way to repeat the implementation of CQL
query construction to Cassandra session management etc. — which are all mostly handled with a typical Spring Boot
application. If you would build the application with Spring Boot, you end up duplicating quite some configuration code.

This integration example demonstrates how to build the Apache Ignite cache store on top of the Spring Data offerings,
which eliminates the duplication.

Important note

There is a subtle requirement for the Apache Ignite cache store factory interface, which is Serializable. With that, I
found some Spring beans cannot be directly injected with the @SpringResource annotation provided by Apache Ignite.