I would like to know if it is possible to use Redis as local or in process cache in java.
I have tried with Redisson (version 3.11.2) but I get an error:
MutableConfiguration<String, CaLpgDataCollectionDto> jcacheConfig = new
MutableConfiguration<>();
Config redissonCfg = new Config();
Configuration<String, CaLpgDataCollectionDto> config =
RedissonConfiguration.fromConfig(redissonCfg, jcacheConfig);
CacheManager manager =
Caching.getCachingProvider().getCacheManager();
Cache<String, CaLpgDataCollectionDto> cache = manager.createCache("namedCache", config);
Caused by: java.lang.IllegalArgumentException: server(s) address(es) not defined! at org.redisson.config.ConfigSupport.createConnectionManager(ConfigSupport.java:207)
Kind regards.