spring-projects / spring-data-redis

Provides support to increase developer productivity in Java when using Redis, a key-value store. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access.
https://spring.io/projects/spring-data-redis/
Apache License 2.0
1.77k stars 1.17k forks source link

Integrate Valkey-GLIDE as a Redis/Valkey drivers #3039

Open asafpamzn opened 3 days ago

asafpamzn commented 3 days ago

We would like to integrate Valkey-GLIDE as an additional supported driver in Spring Data Redis.

Valkey-GLIDE offers features that could be beneficial for applications needing high performance and scalability. Integrating Valkey-GLIDE as a native option will allow Spring Data Redis users to leverage these benefits seamlessly within their existing applications. For example:

  1. Sharded Pub/sub. https://github.com/spring-projects/spring-data-redis/issues/3019
  2. Cluster Scan https://github.com/valkey-io/valkey-glide/wiki/General-Concepts#cluster-scan
mp911de commented 2 days ago

Thanks for reaching out. We do not intend to integrate another driver into Spring Data Redis as that project is focused on Redis. You can, however, build your abstraction around RedisConnectionFactory and RedisConnection.

In the long run, it would be much more likely to have a Spring Data Valkey module. We currently do not have the bandwidth to implement nor maintain such a module.