skip to Main Content

Redis – Spring boot native image can not serialize protobuf object

I have a method @Cacheable(value = USER_IDENTITIES_PROTO_CACHE) public UserIdentitiesResponseOuterClass.UserIdentitiesResponse findUserIdentitiesProto(UUID userId) { where UserIdentitiesResponseOuterClass.UserIdentitiesResponse is a class generated by protobuff. When using JVM everything works well but in the native image I am getting the exception "Failure putting into cache:…

VIEW QUESTION

How to subscribe redis key space event with spring

My Environment Mac Ventura 13.6.3 Temurin 17 SpringBoot 3.2.1 org.springframework.boot:spring-boot-starter-data-redis redis cluster running on local machine. (localhost: 7001, localhost: 7002, localhost: 7003 What I want to do I want to receive expire event from redis cluster with spring. What I…

VIEW QUESTION

JEDIS/REDIS 'ON' Keyword or broken query?

Very new to REDIS, and having issues using JSON/Index/Query that is driving me crazy. Example struct public class MyType implements Serializable { { @SerializedName("myval") @Expose private Integer myval; @SerializedName("status") @Expose private String status; } I am easily using redis-stack, and…

VIEW QUESTION
Back To Top
Search