skip to Main Content

Programmatic RedissonClient in Spring boot project

I am trying to implement Hibernate second level caching in a Spring boot project using Redisson. I have followed this blog as a reference https://pavankjadda.medium.com/implement-hibernate-2nd-level-cache-with-redis-spring-boot-and-spring-data-jpa-7cdbf5632883 Also i am trying to initialize the RedissionClient programmatically and not through declaratively /through a…

VIEW QUESTION

Redisson client ; RedisTimeoutException issue

I am using Google cloud managed redis cluster(v5) via redisson(3.12.5) Following are my SingleServer configurations in yaml file singleServerConfig: idleConnectionTimeout: 10000 connectTimeout: 10000 timeout: 3000 retryAttempts: 3 retryInterval: 1500 password: null subscriptionsPerConnection: 5 clientName: null address: "redis://127.0.0.1:6379" subscriptionConnectionMinimumIdleSize: 1 subscriptionConnectionPoolSize:…

VIEW QUESTION

NotSerializableException with redisson-spring-boot-starter

I'm using redisson-spring-boot-starter 3.13.2 and Kotlin for cache but I get the following exception: java.lang.IllegalArgumentException: java.io.NotSerializableException: com.service.message.State at org.redisson.RedissonObject.encodeMapValue(RedissonObject.java:338) at org.redisson.RedissonMapCache.fastPutOperationAsync(RedissonMapCache.java:843) at org.redisson.RedissonMapCache.fastPutAsync(RedissonMapCache.java:746) at org.redisson.RedissonMapCache.fastPut(RedissonMapCache.java:720) at org.redisson.spring.cache.RedissonCache.put(RedissonCache.java:107) at org.springframework.cache.interceptor.AbstractCacheInvoker.doPut(AbstractCacheInvoker.java:87) at org.springframework.cache.interceptor.CacheAspectSupport$CachePutRequest.apply(CacheAspectSupport.java:820) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:429) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:345) at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at…

VIEW QUESTION
Back To Top
Search