Skip to content

Commit 41cff90

Browse files
committed
Doc cautions about Redis Cluster keyspace events.
Due to #1111, applications can suffer from missing important Keyspace events as described at spring-projects/spring-session#2230. This adds a caution to the docs to help others avoid running into this problem.
1 parent 3d2fdf2 commit 41cff90

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: src/main/antora/modules/ROOT/pages/redis/cluster.adoc

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ See the https://redis.io/topics/cluster-tutorial[Cluster Tutorial] for more info
66

77
NOTE: When using xref:repositories.adoc[Redis Repositories] with Redis Cluster, make yourself familiar with how to xref:redis/redis-repositories/cluster.adoc[run Redis Repositories on a Cluster].
88

9+
CAUTION: Relying on keyspace events when using Redis Cluster is discouraged due to https://github.com/spring-projects/spring-data-redis/issues/1111[only being subscribed to events from one random redis node in the cluster].
10+
Using redis without multiple shards avoids this problem.
11+
912
[[cluster.working.with.cluster]]
1013
== Working With Redis Cluster Connection
1114

0 commit comments

Comments
 (0)