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

Reactive Repositories are not supported by Redis [DATAREDIS-1250]

Open spring-projects-issues opened this issue 4 years ago • 0 comments

Abhijit Sarkar opened DATAREDIS-1250 and commented

The following repository definition fails:

interface TestRepo: CoroutineCrudRepository<Uuid, String>

with

org.springframework.dao.InvalidDataAccessApiUsageException: Reactive Repositories are not supported by Redis. Offending repository is com.mycompany.persistence.TestRepo!

However, Lettuce 6.0 has Coroutines support. Even without it, the commands from ReactiveRedisTemplate can be translated to Coroutines using extensions.

Data Cassandra supports CoroutineCrudRepository. Why won't Redis?


Affects: 2.3.5 (Neumann SR5)

spring-projects-issues avatar Nov 12 '20 01:11 spring-projects-issues