spring-data-redis icon indicating copy to clipboard operation
spring-data-redis copied to clipboard

Support shard pub/sub

Open heowc opened this issue 1 year ago • 2 comments

As far as I know, redis 7.0 provides a slightly improved pub/sub.

Accordingly, lettuce related commands have been implemented. Are there any plans to abstract this? 🤔

  • https://github.com/redis/lettuce/releases/tag/6.4.0.RELEASE
  • https://github.com/redis/jedis/issues/2948

heowc avatar Oct 12 '24 05:10 heowc

We might, but the underlying issue is to track changes in Redis Cluster topologies and adopt the message listener accordingly. Sending pub/sub messages to shards isn't complex.

mp911de avatar Oct 14 '24 06:10 mp911de

@mp911de , Valkey-GLIDE handles the Redis cluster topology updates and resubscribe on such events. We can integrate it for support of sharded pub/sub.

asafpamzn avatar Nov 10 '24 10:11 asafpamzn