You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/antora/modules/ROOT/pages/redis/cluster.adoc
+3-2
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,9 @@ See the https://redis.io/topics/cluster-tutorial[Cluster Tutorial] for more info
6
6
7
7
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].
8
8
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.
9
+
CAUTION: Do not rely on keyspace events when using Redis Cluster as keyspace events are not replicated across shards.
10
+
Pub/Sub https://github.com/spring-projects/spring-data-redis/issues/1111[subscribes to a random cluster node] which only receives keyspace events from a single shard.
11
+
Use single-node Redis to avoid keyspace event loss.
0 commit comments