Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
55 views

Problem statement Connect to Azure managed redis from spring boot (using Jedis/Lettuce) though managed identity where the identity token expires in 24 hours. In my application, the ...
0 votes
0 answers
79 views

I have an application using spring-data-keyvalue. As I understand by default it uses HashMap without persistence. The documentation says I could use redis for that, with jedis (among others). I want ...
1 vote
1 answer
168 views

I have a Java Spring application with a RedisService for interacting with a Redis database. The RedisService constructor takes a JedisPooled object as the constructor dependency for using the Redis ...
0 votes
1 answer
238 views

I have a spring app deployed to AWS Kubernetes, and an AWS elasticache with transit encryption mode set to required. When the java code below gets executed, it throws an exception Java code: ...
0 votes
0 answers
36 views

I'm trying to migrate spring-data-redis 1.5.2.RELEASE to 2.3.12.RELEASE, but I'm finding that some methods in RedisCacheConfiguration are not in version 2.3.12.RELEASE I have the method ...
0 votes
1 answer
1k views

I have a redis-cluster docker image running locally, and I'm trying to connect to it from the java code, but I'm getting an error. Java code: JedisCluster jedisCluster = new JedisCluster(new ...
0 votes
0 answers
60 views

I have a java springboot application running in an Amazion ECS container. This application is reading data from Elasticache for Redis OSS using Jedis library. The Elasticache Redis replication group ...
0 votes
1 answer
1k views

I’m experiencing an intermittent issue with my application that uses Jedis version 5.0.2 for Redis connectivity. The (random) error I'm encountering is: Failed to connect to any host resolved for DNS ...
0 votes
0 answers
104 views

try (Jedis jedis = jedisPool.getResource()) { logger.info("connection established after attempt: " +attempts); return operation.execute(jedis); }catch (JedisException e) { ...
juan's user avatar
  • 1
1 vote
1 answer
266 views

According to this commit, I now need to connect using RedisAutoConfiguration instead of RedisVectorStoreAutoConfiguration and I'm curious about how. commit comment Here is the Redis connection ...
0 votes
1 answer
65 views

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: ...
0 votes
1 answer
375 views

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 ...
1 vote
1 answer
128 views

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(...
0 votes
2 answers
255 views

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
1k views

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....

15 30 50 per page
1
2 3 4 5
...
58

AltStyle によって変換されたページ (->オリジナル) /