oxia-java
oxia-java copied to clipboard
A Java client library for Oxia
@merlimat Hi, Matteo. We found that there is a critical issue with the request order, when the request number is greater than the maxRequestsPerBatch, the put result will be out...
### Motivation ``` String lock = buildLockKey(topic); AsyncLock threadSimpleLock = lockManager.getThreadSimpleLock(lock); long now = System.nanoTime(); try { threadSimpleLock.lock().get(); compactionMetrics.getAcquireCommitLockLatency().recordSuccess(System.nanoTime() - now); } catch (InterruptedException | ExecutionException e) { log.error("Failed to...
### Motivation The client can't get the real caused of error. Server side: ``` Aug 22, 2024 @ 11:08:57.788 | {"level":"warn","time":"2024-08-22T11:08:57.788091476Z","component":"leader-controller","error":{"error":"rpc error: code = Code(104) desc = oxia: node is...
(Stacked on top of #210)
(Depends on https://github.com/streamnative/oxia/pull/686)
The documentation provides comprehensive information about the Oxia Java client API, including: 1. Basic usage examples for both synchronous and asynchronous clients 2. Client configuration options 3. Namespace management 4....