-
Notifications
You must be signed in to change notification settings - Fork 3.9k
subscribe is not working when the client cache is enabled #4023
Copy link
Copy link
Closed
Description
Expected behavior
subscribe can work normally.
Actual behavior
Blocked forever and can't receive any message
Steps to reproduce:
Please create a reproducible case of your problem. Make sure
that case repeats consistently and it's not random
1.Create an UnifiedJedis with the client cache
2.subscribe
Redis / Jedis Configuration
private UnifiedJedis buildUnifiedJedis() {
HostAndPort startNode = HostAndPort.from("localhost:6379");
JedisClientConfig jedisClientConfig = DefaultJedisClientConfig.builder()
.resp3()
.build();
CacheConfig cacheConfig = getCacheConfig();
Cache cache = CacheFactory.getCache(cacheConfig);
return new UnifiedJedis(startNode, jedisClientConfig, cache);
}Jedis version:
5.2.0
Redis version:
7.4.1
Java version:
JDK 17
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels