Quantcast
Channel: Active questions tagged redis+java - Stack Overflow
Viewing all articles
Browse latest Browse all 2222

Cache non-serializable objects using Spring Boot Cache backed by Redis

$
0
0

I want to cache responses from a 3rd party API that provides its own client and data classes. The problem though, is that neither of the data classes implements the Serialazable interface, so caching using Spring Boot Cache Redis, throws NotSerializableException when I tried.

Is it somehow possible to configure the Spring Boot Redis Cache to allow caching of objects that doesn't implement Serializable?


Viewing all articles
Browse latest Browse all 2222


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>