[Enhancement] Possibility for a Lettuce variant of "ebean-redis"?
Personally I find Lettuce to be the modern client. Jedis brings in dependencies such as gson, org.json:json, but is also just not a very well made client, whereas both Lettuce and Redisson are arguably much better quality clients.
Proposed naming scheme could be any of the following:
- Renaming
ebean-redis:ebean-jedisebean-lettuceebean-redisson
- Suffix instead:
ebean-redis- aggregator/bundleebean-redis-jedisebean-redis-lettuceebean-redis-redisson
In any case, it should be trivial to at least support Lettuce so we have one high-quality implementation to target. I'm unsure what the correct abstraction for a connection would be to support both regular, cluster, etc connections, but I'm thinking instead of providing/injecting our own client connection (and having to deal with the complexity of this), there can instead be connection configuration and ebean connect to the server automatically, using cluster if needed depending on config etc.
I also don't like jedis
Personally I find Lettuce to be the modern client
Yeah, no problem with that. Are you going to build / contribute a ebean-lettuce module? Happy to have a look at that and rename things as appropriate when we have that etc.
Personally I find Lettuce to be the modern client
Yeah, no problem with that. Are you going to build / contribute a ebean-lettuce module? Happy to have a look at that and rename things as appropriate when we have that etc.
I can absolutely do that (when I make the time) - I'll maintain it as a fork of this repository (and ebean-redis) and try to mirror the same functionality, will link here when we have that
Cool. We can close this for the meantime and re-open when you get to it.
We built one, please take a look if it's still of interest.
Very nice. Would you like to contribute it and have it located in ebean's git repo?
I would be honored if it passes your muster sir. I'll drop the JVM version 21 requirement shorlty!