Describe the extension
Offer a Redis extension based on Lettuce, which has official support for GraalVM Native Images since v5.3.2.
Lettuce development started earlier and I think it's more mature than the Vert.x Redis client.
Interested in this extension, please +1 via the emoji/reaction feature of GitHub (top right).
Additional context
See also https://github.com/quarkusio/quarkus/issues/4453.
Hi,
Quarkus 1.7 will ship with a Redis extension based on Vert.x - see https://github.com/quarkusio/quarkus/blob/76a6fcbf267f6e2646266420135166b13ab5aee0/docs/src/main/asciidoc/redis.adoc.
Is there a specific reason why you would like to have a Lettuce based one?
cc @machi1990
Because I believe Lettuce is more mature for production than the Vert.x Redis client. Reasons below.
1) Lettuce has more commits, active contributors, and probably more production users.
2) The Vert.x Redis client went through a major refactor and got it backported to 3.9 in March this year, so less production users would have been able to test it thoroughly.
3) The Vert.x Redis client can't handle authentication in cluster mode, as reported in their issue tracker. Meanwhile, Lettuce has support for SSL and authentication in cluster mode since 4.2 (released in 2016), and many bugs have been fixed since.
Thanks for the input.
I think it's unlikely we will offer a second Redis extension (although anyone interested could code up such an extension if they think it's worth it).
cc @vietj @pmlopes to get their pespective on Vert.x vs lettuce and shed some more light :)
@l2dy thanks for opening the issue. I agree with what @geoand.
A bit of context, early on when https://github.com/quarkusio/quarkus/issues/4453 was opened, I considered using Lettuce and offering a Redis Client on top of it, https://github.com/quarkusio/quarkus/pull/4882. I managed to come up with a working version both in native and JVM mode (even before the recent added GraalVM support in v5.3.2) but I ran through some issues and the main ones being:
After a chat with the team, we decided to go with Vert.x Redis Client.
The code for Lettuce integration is still available on my branch https://github.com/machi1990/quarkus/tree/feat/redis-extension and functional, if you are looking to integrate Lettuce on your project.
Thanks for explaining the background, I was not aware of that.
I think it's unlikely we will offer a second Redis extension (although anyone interested could code up such an extension if they think it's worth it).
@l2dy thanks for opening the issue. I agree with what @geoand.
Should we close the issue then? There seems to be no intention to support another Redis extension officially.