spring-data
spring-data copied to clipboard
How can I get it to use the ArangoDBAsync driver?
I see the default is SimpleArangoRepository
which uses the ArangoDB
driver under the hood.
Is there support for the ArangoDBAsync
driver anywhere?
Currently Spring Data ArangoDB can only use the synchronous driver.
Are there any plans to offer support for the ArangoDBAsync driver?
While this is possible, due to internal prioritization the related work has not been planned yet.
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.