-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
quarkus-redis-client needs ZUNION method #18351
Comments
/cc @cescoffier, @gsmet, @machi1990 |
@kafeltz @machi1990 I can address this missing functionality if you aren't already working on this one. |
It seems like Vert.x Redis client (which is used by |
@patrox thanks for the interest in fixing the issue. Yes, the command might need to be added in upstream first in Vertx 4. @pmlopes WDYT? As an alternative for now: You can try using the plain vertx
using the mutiny based client:
|
Thank you @machi1990 for the alternative suggestion, I can try that as I won't have to wait for the upstream change. I created a feature request in Vert.x Redis Client to address this in a longer term as well: |
Thanks, let me know how it goes.
Awesome. Thank you. |
@machi1990 I'm afraid we won't be able to proceed this way, as the I updated it already on my PR which I'm going to open in vert.x redis client: https://github.com/patrox/vertx-redis-client/pull/1/files. Maybe there should be a possibility to pass there plain |
@patrox thanks for finding sometime to look at this. Yes, we'll have to create a new command
It seems that this has been fixed in vert-x3/vertx-redis-client@8d78307, we can wait for the new release and add all the new commands. It seems like there are couple others commands which might be useful. What do you think?
Yes, we'll have to create a new command |
In the meantime @pmlopes has added the commands from a recent Redis server version (including ZUNION) to vert.x Redis client, so probably we will be able to use the new version soon . |
@machi1990 Yes, I saw the other new commands which were added, so I can add these as well. I'll monitor vert.x redis client to see if there is a new version. I can also document the workaround method as well - is it OK to do it in a single PR ? I can create separate commits for these changes. |
I think what we can do is document the workaround for now in a separate PR and we'll fix the issue once a new release of the redis client is there. |
@machi1990 @patrox the fix will arrive with vert.x 4.2.0. The workaround required defining the zunion command, you can do it as: public static final Command ZUNION = Command.create("zunion", -3, 0, 0, 0, false, true, true, false); See the latest generation for 6.2.4 sources: |
Thanks @pmlopes, this is exactly what I was looking for! |
@patrox I think the reactive library needs the zunion function too. Have you seen it? |
Quarkus is using Vert.x 4.2.2. Is this still an issue? |
I think we probably still need to bind the new commands in the Quarkus impl if not already done. |
The ZUNION method is missing in the quarkus-redis-client. Currently there is only the ZUNIONSTORE method.
This one: https://redis.io/commands/zunion
The text was updated successfully, but these errors were encountered: