When I start the spring app write with Java 11, show error like this: I have already upgrade the Jedis version to the newest 4.2.3, why still did not support the Redis pending command? I have already read the Jedis issue. They already added the pending support in the Jedis 3.6.0, why still tell me that did not support? This
Tag: jedis
Can Make Redis server return NULL or False instead of JedisConnectionException?
We are developing an application that uses the Redis server as a cache server. So what We do are when a client request API it first go to Redis to get data if there is no data it returns null so the second step go to the MYSQL database to get data, But the problem when we lose the Redis
Delete multiple Redis stream id with Jedis
how can i delete multi redis stream id with jedis? they have a methods calls “xdel” – what is the type that i need to send to the method to delete multi key? i declare List but the method didnt get this type. i got this error – Answer Jedis xdel method takes varags of StreamEntryID. So you can do
Access Redis connection pool using Spring Data Redis without Reflection API
Please help me here with the solution. I want to monitor and periodically log information about the Redis Connection Pool usage in my application. I am using use Redis via spring-data-redis RedisTemplate object. I know that we can access pool through Reflection API as below. Since the pool is accessing through Reflection, during SAST scan we will be getting ‘Access
Access Redis connection pool using Spring Data Redis
I want to monitor and periodically log information about the Redis Connection Pool usage. I use Redis through spring-data-redis RedisTemplate object. Is there any way to access pool? Answer I was able to access internal pool using reflection API.
Get Set value from Redis using RedisTemplate
I am able to retrieve values from Redis using Jedis: But when I am trying to use Spring’s RedisTemplate , I am not getting any data. My data is stored in Redis as a Set. Can someone please point out to me what am I missing? EDIT : My xml config for RedisTemplate. Answer In short You have to configure