oracle / nosql-java-sdk

SDK for Java for the Oracle NoSQL Database
https://www.oracle.com/database/nosql/
Universal Permissive License v1.0
24 stars 24 forks source link

Reactive Support #80

Open MD9001 opened 1 year ago

MD9001 commented 1 year ago

Seems that you are using Netty for HttpClient implementation. Although async is not supported yet, maybe it would be better to use Reactor Netty instead for reactive support?

Adding reactive support would improve already existing implementation for Spring Oracle NoSQL SDK (currently it just wraps synchronous requests, that doesn't open real reactive programming perspectives) and allow using NoSQL SDK in real reactive environments.

If it is welcome, I can realize such functionality as separate module and send a pull request. But please, add at least a marker interface for oracle.nosql.driver.http.Client so driver (like QueryDriver) can set other client implementations.

gmfeinberg commented 1 year ago

Hi,

Thanks for the comment! An async interface is definitely on our list of features to add and making it Reactive is a definite consideration. If you are interested in and able to do some work in this space we'd be interested. Oracle has some rules for direct contribution outlined on the CONTRIBUTING page