Skip to main content

Questions tagged [jedis]

Jedis is a small free client for Redis, written in and for Java.

jedis
0 votes
0 answers
10 views

Jedis Socket time out exception

I am getting this exception in jedis redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketTimeoutException: Read timed out do not know the exact reason. I am using jedis version 5.1....
Anil Lalam's user avatar
0 votes
0 answers
27 views

use jedis for redis,lpush method was waiting for long time

I used 10 threads to execute the jedis.lpush method in while, and for 2 days all threads were runnable and blocked on jedis.lpush. It seems that none of the timeout methods set by jedis are effective. ...
monkey lxb's user avatar
0 votes
1 answer
30 views

Use Jedis `echo` in pipeline

The examples use Scala code, but the issue would be the same with Java. Way back in version 2 of Jedis, you could use echo in a pipeline: import redis.clients.jedis._ object Main { def main(args: ...
Amaterasu's user avatar
  • 341
0 votes
0 answers
35 views

How to obtain JedisPooled in Spring Boot

I'm using Spring Boot 3.2.3 and spring-boot-starter-data-redis where I excluded lettuce and using jedis instead. Is there any "spring-boot" way of obtaining JedisPooled object (instead of ...
Wrapper's user avatar
  • 892
0 votes
1 answer
87 views

Put data with Redisson and Get with Jedis

I am new to Redis and have a scenario to put data to Redis using Redisson and get using Jedis (and vice versa). The data I am trying to maintain is Map<String, String>. For this I am using HGET ...
rak323sh's user avatar
0 votes
0 answers
33 views

JSONSET using Spring Data redis

Currently I am using Jedis directly in my springboot application to do the JSON partial updates using JSONSET in Jedis. Does spring data redis provides support for this using Jedis?
Sasivarnan Manickam's user avatar
1 vote
1 answer
51 views

Facing SocketException: Broken pipe (Write failed) when querying using MGET command using Jedis (Java Redis Client)

I have a use case to identify expired tokens stored in cache, so I implemented a method in the following way - private Boolean isTokenExpired(long programId,String token,Jwt jwt){ try { if(...
Jayanth Naidu's user avatar
0 votes
2 answers
95 views

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 ...
Wayne's user avatar
  • 77
1 vote
2 answers
472 views

Service in Docker Compose not connecting to Redis container in docker, Failed to connect to any host resolved for DNS name

So I currently have a service for an eccomerce project which uses redis and jedis to connect. It is working when ran using source code but when it is dockerized it pops up the following error: redis....
SaltnPepper's user avatar
0 votes
1 answer
326 views

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

I have my RedisConfig class as: @EnableRedisRepositories public class RedisConfig { @Bean public JedisConnectionFactory jedisConnectionFactory() { RedisStandaloneConfiguration ...
Ameetesh Sharma's user avatar
0 votes
0 answers
68 views

"ERR unknown command 'memory', with args beginning with: USAGE" with Jedis and AWS ElastiCache

While using memoryUsage(key) method of Jedis i am getting this following error "errorMessage": "ERR unknown command 'memory', with args beginning with: USAGE" is it possible that ...
TechiePP's user avatar
0 votes
0 answers
51 views

How can I force Jedis client to rediscover redis cluster nodes

I have redis cluster running on kubernetes to which I am connecting via Jedis. When connecting to the cluster I use a domain name. This all works fine. Jedis discovers the cluster nodes and everything ...
Moiz Raja's user avatar
  • 5,680
1 vote
2 answers
280 views

Spring Boot Upgrade Redis - Null key returned for cache operation

After the spring 3.x upgrade Redis Cache gives Null key returned for cache operation spring-boot version: 3.2.2 <dependency> <groupId>redis.clients</groupId> <artifactId>...
kernel's user avatar
  • 619
0 votes
1 answer
362 views

Spring Boot 3.x Upgrade Redis Two Bean were found

After the spring upgrade, "Parameter 0 of the constructor in com.exampe.redis.operation.RedisOperation required a single bean, but 2 were found:" I'm getting the error. spring-boot version: ...
kernel's user avatar
  • 619
0 votes
0 answers
102 views

Spring Boot Jedis RedisConnectionFailureException Caused By UnknownHostException

I am not a Java Developer (or english speaker) but I need some clues about this problem. The problem: There is a Redis on Kubernetes working as a cache (on redis-master.redis.svc.cluster.local) and my ...
Lázaro Vinícius's user avatar

15 30 50 per page
1
2 3 4 5
59