Migrating from Lettuce java client #4906
Replies: 4 comments 6 replies
-
|
Hi @LarsKrogJensen, sorry for the delayed reply! Valkey-GLIDE does support musl libc with the Java client. We currently do not support the bundling of multi arch or platform dynamic libraries. You would need to use With that being said, I'm not sure if you are using Gradle or Maven, but both of them have plugins/extensions that can auto-detect current system architecture and OS for the classifier field: For Gradle plugins {
id 'com.google.osdetector' version '1.7.3'
}
dependencies {
implementation "io.valkey:valkey-glide:2.1.1:${osdetector.classifier}"
}For Maven <build>
<extensions>
<extension>
<groupId>kr.motd.maven</groupId>
<artifactId>os-maven-plugin</artifactId>
<version>1.7.1</version>
</extension>
</extensions>
</build>
<dependencies>
<dependency>
<groupId>io.valkey</groupId>
<artifactId>valkey-glide</artifactId>
<version>2.1.1</version>
<classifier>${os.detected.classifier}</classifier>
</dependency>
</dependencies>Please let us know if these work with your project. We can discuss other options if they can't meet your need. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @xShinnRyuu Thanks for response and glad to hear musl libc is supported. We are using maven and I am familiar with classifier concept, but until multi-arch bundle it might will be tricky as CI pipeline runs amd64 and it would not include arm64 :( Any plans of this? |
Beta Was this translation helpful? Give feedback.
-
|
Hi @LarsKrogJensen , sorry for jumping into the conversation half way, but could you please elaborate the CI situation you mentioned above a bit more? Are you saying that the auto-detecting My understanding is that, as long as your CI only checks out the source code of your project, and pull dependency itself, the plugin will detect the CPU arch of the CI, and generate the corresponding classifier for valkey-glide correctly. Are you using a different setup for CI, such that you have to use the same .jar for both development and CI? |
Beta Was this translation helpful? Give feedback.
-
|
interesting, thanks must admit I did not realize to native part is so big... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We are currently using Lettuce java client when communicating with AWS Elastic Cache Valkey flavor, but are considering moving to Glide client library, but there are a few points that is unclear to me.
We run our workload in alpine based containers on AWS EKS, but obviously also on developer machines (Mac, Linux) and thus needs Glide to:
Is this possible today, and if not any plans?
Beta Was this translation helpful? Give feedback.
All reactions