Search code examples
javaspringspring-bootaerospike

How do I use Spring's @Cacheable with Aerospike as the cache?


I just want to use Aerospike as the backing cache for Spring CacheManager. Should I use spring data aerospike when I don't intend to use Aerospike as a data-store but only as a cache?

Is there any implementation available similar to HazelcastCacheManager or do I need to write my own? Any help is appreciated.


Solution

  • Found this implementation for Aerospike Cache Manager.

    https://github.com/shaileshmishra008/spring-cache-aerospike

    I was able to write a version using this project as a reference.