397 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
119
views
Java Springboot talking to Elasticache - API calls fail during ecs tasks auto-scaling
Java Springboot application talks to Aws Elasticache using Lettuce client running on ECS.
Springboot version 3.4.5
Lettuce version 6.8.1.RELEASE
Elasticache Valkey serverless using IAM authentication
...
1
vote
1
answer
153
views
Spring Boot 3 with Lettuce: How to avoid SENTINEL REPLICAS command when user lacks permissions?
I am setting up a Spring Boot 3 application (using Gradle and Java 17) with Redis Sentinel and the Lettuce client (non-reactive, with RedisTemplate).
Our infrastructure team has provided a Redis ...
1
vote
0
answers
58
views
RedisSearch returns empty documents with lettuce-mod but works correctly via Redis CLI
I'm experiencing a strange issue with RedisSearch using the lettuce-mod Java client. The search works perfectly via Redis CLI but returns empty documents when executed through Java.
Redis CLI (works ...
0
votes
0
answers
39
views
Lettuce: AWS Elasticache: JSON MSET behaviour
We are using Lettuce java client to connect to AWS Elasticache (Valkey engine, Serverless, version 8.0) from Java springboot application (JDK 17 & springboot version 3.2.5)
Below is the method ...
0
votes
0
answers
102
views
Re-establishing a broken long-lived connection with iam tokens
my company has historically used Lettuce without authentication. We relied on AWS security groups. But now our security team is asking us to authenticate via iam.
Each of our application services that ...
1
vote
1
answer
666
views
Lettuce Redis: Does Command Timeout Include Connection Pool Wait Time?
I'm using LettuceConnection with a connection pool to connect my application to a Redis server. However, during load testing, I encountered a significant number of command timeout errors. Initially, I ...
0
votes
0
answers
133
views
AWS Elasticache: LETTUCE - How to read from cache without providing a Key
We are using Lettuce java client to connect to AWS Elasticache (Valkey engine, Serverless, version 8.0) from Java springboot application (JDK 17 & springboot version 3.2.5)
We have User ...
0
votes
1
answer
165
views
Lettuce: AWS Elasticache: JSON MGET behaviour
We are using Lettuce java client to connect to AWS Elasticache (Valkey engine, Serverless, version 8.0) from Java springboot application (JDK 17 & springboot version 3.2.5)
Below is the method ...
0
votes
1
answer
109
views
How to easy obtain REDIS FT.SEARCH in Micronaut using lettuce-core?
I try to obtain FT.SEARCH results in Micronaut using Lettuce annotations like this:
import io.lettuce.core.dynamic.Commands;
import io.lettuce.core.dynamic.annotation.Command;
import java.util.List;
...
0
votes
0
answers
54
views
TCP packet TSval, TSecr
My application is creating a connection to Redis and using redis to store key/value. I am using lettuce library.
I took packet capture / wireshark on my application.
I saw one packet (from application ...
0
votes
0
answers
124
views
Redis Lettuce Optimistic Locking in Java Reactive
I'm trying to implement Optimistic Locking with Redis Lettuce client in Java Reactive according to this article: https://github.com/redis/lettuce/wiki/Reactive-API#other-examples.
I got 2 approaches, ...
0
votes
1
answer
116
views
AWS Elasticache: Lettuce client: Retry mechanism
I am using Lettuce (https://github.com/redis/lettuce) java client to read/write to AWS Elasticache. Below is the method to read from Cache by passing key.
public Object getJson(String key) {
...
0
votes
1
answer
1k
views
Java Springboot application not able to connect to AWS Elasticache Valkey Cache (Serverless)
Trying to connect to AWS Elasticache (valkey engine: serverless: version 8.0) from my Java springboot application.
JDK 17 & springboot version 3.2.5.
Using Lettuce client to connect to Valkey ...
1
vote
1
answer
77
views
Scanning 12M entries to fetch few records
We have few keys stored with pattern "server.overview.map:". Now we want to get all records for the above pattern.
We are using SCAN command to do so. On production we have 12M entries and only 180 ...
2
votes
0
answers
214
views
Bucket4j tryConsume method blocking when Redis is unavailable
I'm using bucket4j to limit access to distributed service, where there are several pods, with the bucket distributed with Redis (using Lettuce). My goal now is to ensure that each pod can continue ...