-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update readme for java client #112
Conversation
java/README.md
Outdated
2. `examples`: An examples app to test the client against a Redis localhost | ||
3. `benchmark`: A dedicated benchmarking tool designed to evaluate and compare the performance of GLIDE for Redis and other Java clients. | ||
4. `integTest`: An integration test sub-project for API and E2E testing | ||
1. `src`: A rust part of the Java client and corresponding tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1. `src`: A rust part of the Java client and corresponding tests. | |
1. `src`: Rust dynamic library FFI to integrate with [GLIDE core library](../glide-core/README.md). |
Not sure this is needed.
This 'part' goes hand-in-hand with the client. We should consider moving it into the client directory, actually.
@@ -29,27 +30,49 @@ Software Dependencies: | |||
- protoc (protobuf compiler) | |||
- Rust | |||
|
|||
Please also consider installing the following packages to build [GLIDE core rust library](../glide-core/README.md): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we just reference the glide-core library here as a dependency?
GLIDE core library
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can, but the readme of core is empty. TBD to copy this block to that readme.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #113
java/README.md
Outdated
#### Prerequisites | ||
|
||
**Protoc installation** | ||
|
||
Download a binary matching your system from the [official release page](https://github.com/protocolbuffers/protobuf/releases/tag/v25.1) and make it accessible in your $PATH by moving it or creating a symlink. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Download a binary matching your system from the [official release page](https://github.com/protocolbuffers/protobuf/releases/tag/v25.1) and make it accessible in your $PATH by moving it or creating a symlink. | |
Download a binary matching your system from the [official release page](https://github.com/protocolbuffers/protobuf/releases) and make it accessible in your $PATH by moving it or creating a symlink. |
Note: we only support latest. And really, we want to only support https://github.com/protocolbuffers/protobuf/releases/tag/v26.0-rc2 and later because of protocolbuffers/protobuf#12639
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I put here the same version we use in CI
Can you also add to the DEVELOPER.md how to run integration tests on different redis versions? |
* `LOLWUT` (#237) --------- Signed-off-by: Yury-Fridlyand <[email protected]>
* Add `SDIFF` command. (#225) Signed-off-by: Yury-Fridlyand <[email protected]>
…w creating new clients from tests
* Update javadocs. Signed-off-by: Yury-Fridlyand <[email protected]> * Revert some changes. Signed-off-by: Yury-Fridlyand <[email protected]> --------- Signed-off-by: Yury-Fridlyand <[email protected]>
* Add `BZPOPMAX` command. (#188) * Add `BZPOPMAX` command. Signed-off-by: Yury-Fridlyand <[email protected]> * Typo fix. Signed-off-by: Yury-Fridlyand <[email protected]> * Typo fix. Signed-off-by: Yury-Fridlyand <[email protected]> * Typo fix. Signed-off-by: Yury-Fridlyand <[email protected]> * IT timeout fix for redis 6. Signed-off-by: Yury-Fridlyand <[email protected]> * PR comments. Signed-off-by: Yury-Fridlyand <[email protected]> * Revert unrelated changes. Signed-off-by: Yury-Fridlyand <[email protected]> * PR comments. Signed-off-by: Yury-Fridlyand <[email protected]> * PR comments. Signed-off-by: Yury-Fridlyand <[email protected]> --------- Signed-off-by: Yury-Fridlyand <[email protected]> * Typo fix. Signed-off-by: Yury-Fridlyand <[email protected]> * Revert unrelated changes. Signed-off-by: Yury-Fridlyand <[email protected]> * PR comments. Signed-off-by: Yury-Fridlyand <[email protected]> --------- Signed-off-by: Yury-Fridlyand <[email protected]>
* Implement OBJECT IDLETIME command * Address PR comment * Fix build and SPOTLESS Signed-off-by: Andrew Carbonetto <[email protected]> * Fix nit comment and run spotless --------- Signed-off-by: Andrew Carbonetto <[email protected]> Co-authored-by: Andrew Carbonetto <[email protected]>
* Python: Add `PFADD` command. (#229) * Add `PFADD` command. Signed-off-by: Yury-Fridlyand <[email protected]> * BLACK I HATE YOU Signed-off-by: Yury-Fridlyand <[email protected]> * PR comments. Signed-off-by: Yury-Fridlyand <[email protected]> * Update CHANGELOG.md Signed-off-by: Yury-Fridlyand <[email protected]> Co-authored-by: Aaron <[email protected]> --------- Signed-off-by: Yury-Fridlyand <[email protected]> Co-authored-by: Aaron <[email protected]> * Apply suggestions from code review Signed-off-by: Yury-Fridlyand <[email protected]> Co-authored-by: Shoham Elias <[email protected]> * PR comments. Signed-off-by: Yury-Fridlyand <[email protected]> * PR comments. Signed-off-by: Yury-Fridlyand <[email protected]> --------- Signed-off-by: Yury-Fridlyand <[email protected]> Co-authored-by: Aaron <[email protected]> Co-authored-by: Shoham Elias <[email protected]>
* Node: Add `PFADD` command. (#232) * Add `PFADD` command. Signed-off-by: Yury-Fridlyand <[email protected]> * PR comments. Signed-off-by: Yury-Fridlyand <[email protected]> * Update CHANGELOG.md Signed-off-by: Yury-Fridlyand <[email protected]> Co-authored-by: Aaron <[email protected]> * PR comments. Signed-off-by: Yury-Fridlyand <[email protected]> --------- Signed-off-by: Yury-Fridlyand <[email protected]> Co-authored-by: Aaron <[email protected]> * Apply suggestions from code review Signed-off-by: Yury-Fridlyand <[email protected]> Co-authored-by: Shoham Elias <[email protected]> * PR comments. Signed-off-by: Yury-Fridlyand <[email protected]> --------- Signed-off-by: Yury-Fridlyand <[email protected]> Co-authored-by: Aaron <[email protected]> Co-authored-by: Shoham Elias <[email protected]> Co-authored-by: Andrew Carbonetto <[email protected]>
* Add OBJECT FREQ command * Appease the Spotless deities * Fix example * Fix example again * Fix test name in SharedCommandTests * Address PR comments * Apply Spotless * Fix missed merge conflicts * Split command tests up * Fix build issue
* Java: Add `XTRIM` command for streams (#215) * Java: Add XTRIM command Signed-off-by: Andrew Carbonetto <[email protected]> * Update imports; add exception test Signed-off-by: Andrew Carbonetto <[email protected]> * Add IT test for non-extent key Signed-off-by: Andrew Carbonetto <[email protected]> * Update documentation examples Signed-off-by: Andrew Carbonetto <[email protected]> * XTRIM: make exact optional Signed-off-by: Andrew Carbonetto <[email protected]> * Consolidate stream options into one class Signed-off-by: Andrew Carbonetto <[email protected]> * Remove StreamAddOptions and StreamTrimOptions Signed-off-by: Andrew Carbonetto <[email protected]> * Update docs for StreamOptions Signed-off-by: Andrew Carbonetto <[email protected]> * Pull StreamOption tests into separate file Signed-off-by: Andrew Carbonetto <[email protected]> * Remove extra tests Signed-off-by: Andrew Carbonetto <[email protected]> * SPOTLESS Signed-off-by: Andrew Carbonetto <[email protected]> * Update tests Signed-off-by: Andrew Carbonetto <[email protected]> * Move some tests around Signed-off-by: Andrew Carbonetto <[email protected]> * Delete test file Signed-off-by: Andrew Carbonetto <[email protected]> --------- Signed-off-by: Andrew Carbonetto <[email protected]> * Clean up example comment Signed-off-by: Andrew Carbonetto <[email protected]> --------- Signed-off-by: Andrew Carbonetto <[email protected]>
…#1347) redis-rs: Pull changes from submodule
Update examples in docs. (#248) Signed-off-by: Yury-Fridlyand <[email protected]>
* Java: Add command `Touch`. (Generic Command Group) (#249) * PR comments.
* Add `HKEYS` command. (#245) Signed-off-by: Yury-Fridlyand <[email protected]> Co-authored-by: Aaron <[email protected]> Co-authored-by: Shoham Elias <[email protected]>
* Add `RENAMENX` command. (#247) Signed-off-by: Yury-Fridlyand <[email protected]> * PR comments. Signed-off-by: Yury-Fridlyand <[email protected]> * Update IT. Signed-off-by: Yury-Fridlyand <[email protected]> --------- Signed-off-by: Yury-Fridlyand <[email protected]>
* Java: Add `Zrevrank` command. (#241) * Minor documentation updates. * Minor documentation updates. --------- Co-authored-by: Yury-Fridlyand <[email protected]>
Add WATCH returns null standalone IT test Signed-off-by: Andrew Carbonetto <[email protected]>
As discussed, the first step before introducing GlideString is to revert commit valkey-io#1526 This commit does that
* Python: Add command SRandMember Co-authored-by: TJ Zhang <[email protected]>
…th in standalone and cluster modes. Pubsub configuration is provided in client creation params.
Separated unwatch to have different docs for standalone (#372) * Separated unwatch to have different docs for standalone * Added line break
* Java: Add `FLUSHDB` command. (#366) Signed-off-by: Yury-Fridlyand <[email protected]>
* RCT test * implement random val * work on SCT * implement randomkey no examples * current progress * implement randomKey * ran spotlessApply * addressed interface comment * progress on pause * address redis issue * add todo for redis rs issue * current progress address commentS * run into cluster error * ran into cluster error * address comments * address test comments * resolve merge conflicts * address cluster comment * Disable failing test until redis-rs fix in Signed-off-by: Andrew Carbonetto <[email protected]> * SPOTLESS Signed-off-by: Andrew Carbonetto <[email protected]> --------- Signed-off-by: Andrew Carbonetto <[email protected]> Co-authored-by: Chloe Yip <[email protected]> Co-authored-by: Chloe Yip <[email protected]> Co-authored-by: Andrew Carbonetto <[email protected]>
* wip * Python: add BITPOS command * Fix example * Add test for invalid bit argument
…alkey-io#1599) * Java: Add commands `XGROUP CREATECONSUMER` and `XGROUP DELCONSUMER` (#360) * Add XGROUP CreateConsumer, DelConsumer Signed-off-by: Andrew Carbonetto <[email protected]> * Update Xgroup createconsumer docs Signed-off-by: Andrew Carbonetto <[email protected]> --------- Signed-off-by: Andrew Carbonetto <[email protected]> * Fix doc Signed-off-by: Andrew Carbonetto <[email protected]> --------- Signed-off-by: Andrew Carbonetto <[email protected]>
* Python: Add Command FlushAll (#364) * Python: Add Command FlushAll * TOK return type * changelog * checkstyle * address comments * adding cluster/standalone functions * transaction doc * routing doc update * addressing comments --------- Co-authored-by: TJ Zhang <[email protected]>
* Add Python cmd GetEX * Python: Add command GetEx * addressing comments & updating changelog * changelog & request type --------- Co-authored-by: TJ Zhang <[email protected]>
Fix routing for `FLUSHALL` and `FLUSHDB`. (#379) Signed-off-by: Yury-Fridlyand <[email protected]>
* Python: add BITFIELD and BITFIELD_RO commands * Update test minimum version for bitfield_ro * PR suggestions
* Python: add ZREVRANK command * Relocate zrevrank to be adjacent to zrank --------- Co-authored-by: Andrew Carbonetto <[email protected]>
* Java: Add the `XREADGROUP` command (#376) * Add XGROUP CreateConsumer, DelConsumer Signed-off-by: Andrew Carbonetto <[email protected]> * Add XREADGROUP command Signed-off-by: Andrew Carbonetto <[email protected]> * Udpate IT tests Signed-off-by: Andrew Carbonetto <[email protected]> * Fix IT tests Signed-off-by: Andrew Carbonetto <[email protected]> * SPOTLESS & merge conflict fix Signed-off-by: Andrew Carbonetto <[email protected]> * Update for review comments Signed-off-by: Andrew Carbonetto <[email protected]> --------- Signed-off-by: Andrew Carbonetto <[email protected]> * Remove old test from IT suite Signed-off-by: Andrew Carbonetto <[email protected]> * Update xreadgroup docs Signed-off-by: Andrew Carbonetto <[email protected]> --------- Signed-off-by: Andrew Carbonetto <[email protected]>
* Restore the overload `byte[]` overload API with a twist: use `GlideString` instead - Implemented `set(..)` binary version with options - Implemented `getdel` binary version * Rust lint warnings * Added `hgetall` binary version Added `mget` binary version * fixed wrong comment use assertEquals * For performance reasons, convert `byte[]` -> `GlideString` in Java realm (avoid the JNI overhead) * Rust linter fixes
Signed-off-by: Andrew Carbonetto <[email protected]>
* Python: add XDEL command * Fix formatting
* implement getex options * current progress * continue progress on tests * implement getex * Address comments * address more comments * fix tests * address final comments * address remaining comments * resolve merge conflicts * ran spotless * add new tests * fix tests * Add initial test for GetExOptions Signed-off-by: Andrew Carbonetto <[email protected]> * fix tests * fix tests * ran spotless --------- Signed-off-by: Andrew Carbonetto <[email protected]> Co-authored-by: Chloe Yip <[email protected]> Co-authored-by: Chloe Yip <[email protected]> Co-authored-by: Andrew Carbonetto <[email protected]>
* Java: Add XACK stream command (#380) Signed-off-by: Andrew Carbonetto <[email protected]> Co-authored-by: Guian Gumpac <[email protected]> Co-authored-by: Yi-Pin Chen <[email protected]>
* Java: Add DUMP and RESTORE commands (#371) * Cherry-pick Java: Add DUMP and RESTORE commands * Fixed codestyle issues * Addressed review comments * Added more test to SharedCommandtests * Change ByteArrayArgumentMatcher to use Arrays.equals() comparison instead * Addressed review comments - added custom setter methods for long values - changed seconds to idletime - minor comments updated * Updated few minor comments * Removed Optional in RestoreOptions and added setter methods for replace and absttl * Replaced byte[] with GlideString and fixed codestyle issues * Updated comment in RestoreOptions.java * Addressed review comments * Addressed more review comments * Added the casting in handleBytesOrNullResponse to return byte[] * Removed unsed tempKey in SharedCommandTests Removed .getBytes() in RestoreOptions --------- Co-authored-by: Yi-Pin Chen <[email protected]>
* Python: add XRANGE command * PR suggestions * Fix formatting
No description provided.