You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by "justin-laserdata (via GitHub)" <gi...@apache.org> on 2026/10/06 09:19:29 UTC
[I] Java SDK: wire up snapshot [iggy]
justin-laserdata opened a new issue, #4412:
URL: https://github.com/apache/iggy/issues/4412
The Rust client has `SystemClient::snapshot` (`core/common/src/traits/system_client.rs`), which captures the current system state as a snapshot. The Java SDK has no `snapshot` method.
## What to do
- Add `SnapshotCompression` and `SystemSnapshotType` enums under `org.apache.iggy.system`, matching the Rust enums, and a result type for the snapshot.
- Add `snapshot(SnapshotCompression, List<SystemSnapshotType>)` to the async and blocking `SystemClient` interfaces, following `describeOptions`.
- Implement it in `client/async/tcp/SystemTcpClient.java`. The request and response formats are in `core/binary_protocol/src/requests/system/get_snapshot.rs` and `core/binary_protocol/src/responses/system/get_snapshot.rs`.
- In `client/blocking/tcp/SystemTcpClient.java`, delegate to the async client with `FutureUtil.resolve`, following `describeOptions`.
- Implement it in `client/blocking/http/SystemHttpClient.java`, following `describeOptions`. The HTTP request is in `core/common/src/http/system/get_snapshot.rs`.
- Add a test to `SystemClientBaseTest.java`, which both the TCP and HTTP client tests extend.
## Done when
`snapshot` returns a non-empty result against a running server, and the tests pass.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@iggy.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Java SDK: wire up snapshot [iggy]
Posted by "justinmclean (via GitHub)" <gi...@apache.org>.
justinmclean closed issue #4412: Java SDK: wire up snapshot
URL: https://github.com/apache/iggy/issues/4412
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@iggy.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Java SDK: wire up snapshot [iggy]
Posted by "justinmclean (via GitHub)" <gi...@apache.org>.
justinmclean closed issue #4412: Java SDK: wire up snapshot
URL: https://github.com/apache/iggy/issues/4412
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@iggy.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org