nosql-java-sdk icon indicating copy to clipboard operation
nosql-java-sdk copied to clipboard

Async refactor

Open Akshay-Sundarraj opened this issue 3 months ago • 0 comments

This is the PR for supporting Async Java APIs.

CompletableFuture and Flow.Publisher based async APIs are introduced. The new async APIs are similar to existing sync blocking APIs but returns CompletableFuture for single item response or Flow.Publisher for multiple item responses(Query in this case). Also, Existing sync APIs are converted to be wrapper around core async APIs and wait for the response. This way, we don't need to maintain separate implementations for both.

Java version is bumped to 11 from 8. So, basically this is a breaking change and we need to update driver version to 6.0.0?

Netty based HttpClient is refactored into return CompletableFuture of Netty HttpResponse.

Please see the commit logs for more details

Akshay-Sundarraj avatar Oct 11 '25 06:10 Akshay-Sundarraj