New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support ReactiveCrudRepository for Spring Data Redis Reactive [DATAREDIS-831] #1405
Comments
Mark Paluch commented Hey Michael Gmeiner, we currently don't have plans to support reactive Redis repositories. There's a rationale in DATAREDIS-796. Unless we get a significant number of users asking for reactive Redis repositories, we'd provide only synchronous/imperative repository support. I'll leave this one open so interested users can leave their vote |
Michael Gmeiner commented Thanks for the quick reply. That's a real pity. In my company we take a lot of use of redis hashes and the RedisRepository are a great feature which simplifies that a lot. So sad that we cannot take full advantage of reactive redis. Can you maybe update the documentation and state that redis repositories are currently not supported and also describe the reason for that? |
Mark Paluch commented We're using Jira for that. Keeping the current state of affairs and reasons for our decisions in the docs would make the docs a magnet for change and really not usable because of the reasoning noise. In general: If it's not documented, it's not there |
Michael Gmeiner commented Yes i understand you and i also understand the effort behind it but the documentation confuses here. It seems that it is supported because you can use the interface and there's no info that it will no work or is not implemented for reactive redis. Also you do not get a proper exception.. I think people that are using spring-data-redis because of the nice RedisHash feature will run into that problem again when trying to switch to a reactive programming manner |
Mark Paluch commented In the meantime, you can use |
@markpollack @mp911de (not sure which username is correct) Among other things, This is my reactive repo impl.
|
Any update to support Reactive repository? |
@mp911de commented almost 4 years ago:
Did plans regarding this evolved/changed during these (almost) 4 years? Thanks in advance for the update on this |
Michael Gmeiner opened DATAREDIS-831 and commented
I do not find any support of using the RedisRepository feature with ReactiveCrudRepository.
For example the following using:
with @EnableRedisRepositories annotation present
and using default auto configuration from: spring-boot-starter-data-redis-reactive
I always get following error:
when calling for example:
Am i doing something wrong or is it just not implemented yet as i do not find any documentation or examples on that?
Affects: 2.0.7 (Kay SR7)
Issue Links:
("duplicates")
7 votes, 8 watchers
The text was updated successfully, but these errors were encountered: