spring-data icon indicating copy to clipboard operation
spring-data copied to clipboard

How can I get it to use the ArangoDBAsync driver?

Open ndtreviv opened this issue 1 year ago • 4 comments

I see the default is SimpleArangoRepository which uses the ArangoDB driver under the hood.

Is there support for the ArangoDBAsync driver anywhere?

ndtreviv avatar Apr 03 '23 11:04 ndtreviv

Currently Spring Data ArangoDB can only use the synchronous driver.

rashtao avatar Apr 04 '23 05:04 rashtao

Are there any plans to offer support for the ArangoDBAsync driver?

ndtreviv avatar Jun 06 '23 14:06 ndtreviv

While this is possible, due to internal prioritization the related work has not been planned yet.

rashtao avatar Jul 27 '23 06:07 rashtao

Since Java Driver version 7.2.0, the asynchronous driver can be accessed via ArangoOperations#driver() and ArangoDB#async(), e.g. by invoking ArangoDBAsync adbAsync = arangoOperations.driver().async();.

Anyways, all the operations performed by ArangoOperations and ArangoRepository are still implemented using the synchronous driver.

rashtao avatar Feb 06 '24 11:02 rashtao