Skip to content

Commit b2def19

Browse files
committed
Address new comments
1 parent c2e2e18 commit b2def19

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

java/README.md

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,10 @@ The beta release of GLIDE for Valkey was tested on Intel x86_64 using Ubuntu 22.
2626

2727
GLIDE for Valkey is supported in Ubuntu, CentOS, and MacOS.
2828

29-
## Java supported version
30-
JDK 11+.
31-
3229
The Java client contains the following parts:
3330

3431
1. `src`: Rust dynamic library FFI to integrate with [GLIDE core library](https://github.com/aws/glide-for-redis/blob/main/glide-core/README.md).
35-
2. `client`: A Java-wrapper around the [GLIDE core rust library](../glide-core/README.md) and unit tests for it.
32+
2. `client`: A Java-wrapper around the GLIDE core rust library and unit tests for it.
3633
3. `examples`: An examples app to test the client against a Valkey localhost.
3734
4. `benchmark`: A dedicated benchmarking tool designed to evaluate and compare the performance of GLIDE for Valkey and other Java clients.
3835
5. `integTest`: An integration test sub-project for API and E2E testing.
@@ -43,17 +40,6 @@ The Java client contains the following parts:
4340

4441
At the moment, the Java client must be built from source.
4542

46-
### Build from source
47-
48-
Software Dependencies:
49-
50-
- JDK 11+
51-
52-
Please also consider installing the following packages to build [GLIDE core rust library](../glide-core/README.md):
53-
54-
- openssl
55-
- openssl-dev
56-
5743
#### Prerequisites
5844

5945
**Protoc installation**
@@ -109,7 +95,7 @@ Once set up, you can run the basic examples.
10995
Gradle:
11096
- Copy the snippet and paste it in the `build.gradle` dependencies section.
11197
Example shown below is for `glide-osx-aarch_64`.
112-
```bash
98+
```groovy
11399
dependencies {
114100
testImplementation platform('org.junit:junit-bom:5.10.0')
115101
testImplementation 'org.junit.jupiter:junit-jupiter'
@@ -179,6 +165,7 @@ public class Main {
179165

180166
### Cluster Valkey:
181167
```java
168+
// You can run this example code in the Main.
182169
import glide.api.RedisClusterClient;
183170
import glide.api.models.configuration.NodeAddress;
184171
import glide.api.models.configuration.RedisClusterClientConfiguration;

0 commit comments

Comments
 (0)