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

Deprecated default functions in DefaultedRedisConnection #2998

Open mjimani opened 2 months ago

mjimani commented 2 months ago

DefaultedRedisConnection class was deprecated. It is recommended to replace functions using the RedisKeyCommands class.

mp911de commented 2 months ago

We're using the deprecated default method arrangement for quite a while now. We eventually want to remove all deprecated forwarding as it adds to our complexity of use. However, such a refactoring would potentially cause a lot of effort in the calling code. Therefore, we're looking forward to another event that would be a good justification for a larger change, such as consolidation of Java Redis Clients so that we could potentially remove one of the two clients in favor of a much simpler arrangement.

mjimani commented 2 months ago

@mp911de Thank you so much.