skip to Main Content

class file for redis.clients.jedis.JedisShardInfo not found

when I upgrade the jedis to version 4.2.3 in gradle.build: api "redis.clients:jedis:4.2.3" show error: /Users/xiaoqiangjiang/source/reddwarf/backend/retire/dolphin-common/src/main/java/misc/config/redis/RedisConfig.java:77: error: cannot access JedisShardInfo return new JedisConnectionFactory(redisConfig); ^ class file for redis.clients.jedis.JedisShardInfo not found this is the redis config: @Bean public JedisConnectionFactory redisConnectionFactory() { var…

VIEW QUESTION

loading codes to redis from pod definition file

I have kubernetes job defined as following: apiVersion: batch/v1 kind: Job metadata: name: redis-master namespace: sandbox labels: app: redis spec: parallelism: 1 ttlSecondsAfterFinished: 10 template: metadata: labels: app: redis spec: containers: - name: master image: redis command: ["sh", "-c"] args:…

VIEW QUESTION

Want to use Nestjs with other Redis command

I try to implement nestjs backend and redis as caching. I can do it according to the official document https://docs.nestjs.com/techniques/caching#in-memory-cache. I use the package cache-manager-redis-store and the code in app.module.ts is as shown below. import { Module, CacheModule } from…

VIEW QUESTION

Error in Lua script since last Redis update

Since Redis 6.2.7 (and Redis 7) an existing Lua script stopped working with the error message: "ERR user_script:6: Attempt to modify a readonly table script: 2f405679dab26da46ec86d29bded48f66a99ff64, on @user_script:6." The script is working fine with Redis 6.2.6. I did not find…

VIEW QUESTION
Back To Top
Search