Questions tagged [lettuce]

Lettuce can stand for two things: * A behavior-driven development (BDD) tool for Python: http://lettuce.it/ * A Redis client for Java: http://lettuce.io

Lettuce can stand for two things:

389 questions
4
votes
0 answers

Since redis 6 use multi thread now, does lettuce better use connection pool now?

According to lettuce wiki https://github.com/lettuce-io/lettuce-core/wiki/Connection-Pooling-5.1 It doesn't need connection pool in general, but so does redis(before 6). Since redis 6 use multi thread now, does lettuce better use connection pool…
min
  • 953
  • 1
  • 11
  • 23
4
votes
1 answer

Is there a way to auto discover new cluster node IP in Redis Cluster with Lettuce

I have a Redis Cluster (3 master and 3 slaves) running inside a Kubernetes cluster. The cluster is exposed via a Kubenetes-Service (Kube-Service). I have my application server connected to the Redis Cluster (using the Kube-Service as the URI) via…
Shabirmean
  • 2,341
  • 4
  • 21
  • 34
4
votes
0 answers

Spring boot with lettuce:Cannot connect, Event executor group is terminated

I created Spring boot multi module project with lettuce. My config : @Bean public LettuceConnectionFactory lettuceConnectionFactory(){ return new LettuceConnectionFactory(host, port); } @Bean public RedisTemplate
Abdullajon
  • 366
  • 3
  • 12
4
votes
0 answers

LettuceConnectionFactory with SentinelTopologyProvider

I am using lettuce through the spring boot API org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory . My bean is configured as @Bean public LettuceConnectionFactory lettuceSentinelConnectionFactory() { …
mirk
  • 5,302
  • 3
  • 32
  • 49
4
votes
0 answers

Redis SSL configuration is not clear in case of SpringBoot with lettuce-core

Spring-boot: 2.0.3.RELEASE lettuce-core: 5.0.4.RELEASE spring-data-redis: 2.0.8.RELEASE So first of all my issue is solved I just don't understand why and it bothers me, so some clarification around this is appreciated. I have this Redis…
gabkov
  • 342
  • 5
  • 9
4
votes
1 answer

Spring Data Redis Lettuce Connection Issue

I have spring boot application with MYSQL DB and i am caching the data in Redis in server layer with @Cacheable Annotation @Cacheable(value= "employeeCache", key= "#customerId") @Override public Customer getEmployee(String customerId) { …
Kuldeep
  • 599
  • 11
  • 28
4
votes
4 answers

Unable to connect to Redis; nested exception is io.lettuce.core.RedisConnectionException using ReactiveRedisTemplate

I am new to Reactive Programming. i need to connect to Redis to save and get some data. The redis instance is present in cloud. Am using Lettuce Connection factory to establish the connection. when establishing the connection to redis, the request…
4
votes
1 answer

Redis health check for spring boot 2 hangs

I have implemented some redis stuff in my spring boot 2.1.5 application. It works fine. I also want the health check for redis. If I switch off the redis server the health check (actuator/health) hangs forever. How can I configure a sensible…
Gunslinger
  • 729
  • 1
  • 9
  • 19
4
votes
2 answers

Adding Compression to Spring Data Redis with LettuceConnectionFactory

I see Lettuce can do compression for Redis serialized objects: https://lettuce.io/core/release/reference/#codecs.compression Any way to set this config within Spring Boot Data LettuceConnectionFactory or in some other bean? I've seen this question…
Sean
  • 111
  • 2
  • 8
4
votes
1 answer

Lettuce fail over in cluster

I am trying to get Lettuce to connect to the newly promoted master (former slave) after the old one failed. But all writes stop. The writes continue after the failed host reconnects, now as a slave. And it continues to write to the new master…
Armin
  • 441
  • 4
  • 20
4
votes
1 answer

Does lettuce support pipelining in redis-cluster?

Need to run a batch of commands in redis-cluster mode with lettuce.For commands that should run in one partition, i hope to run them in one node sequentially. As i know, lettuce can support redis pipelining by set the AutoFlushCommands state to be…
Bing
  • 41
  • 1
  • 3
4
votes
1 answer

Lettuce client configuration to connect to aws redis elasticache

I have aws redis elastic cache configured in cluster mode enabled and I have one primary and one replica (both in separate availability zones). I am using Spring RedisTemplate along with LettuceClientConfiguration but getting below error when I try…
4
votes
1 answer

How do I use transactions in Spring Data Redis Reactive?

I'm trying to use ReactiveRedisOperations from spring-data-redis 2.1.8 to do transactions, for example: WATCH mykey val = GET mykey val = val + 1 MULTI SET mykey $val EXEC But I cannot seem to find a way to do this when browsing the docs or the…
Johan
  • 37,479
  • 32
  • 149
  • 237
4
votes
0 answers

How to store WebsocketSession in redis cache?

How to Store websocket session in redis java Redis Client .please give some example.
benny
  • 299
  • 1
  • 3
  • 8
4
votes
0 answers

How do I use Lettuce Async connection with Spring Cache Abstraction (RedisCacheManager) in Spring Data Redis 2.0.X

We recently upgraded our application to Spring Boot 2 (2.0.3.RELEASE). Along with that Spring Data Redis was upgraded was upgraded to 2.0.8.RELEASE. We switched over from using Jedis to Lettuce as the boot upgrade docs say that is now the…
Chris Savory
  • 2,597
  • 1
  • 17
  • 27
1 2
3
25 26