Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I get it to use the ArangoDBAsync driver? #273

Open
ndtreviv opened this issue Apr 3, 2023 · 4 comments
Open

How can I get it to use the ArangoDBAsync driver? #273

ndtreviv opened this issue Apr 3, 2023 · 4 comments
Assignees

Comments

@ndtreviv
Copy link

ndtreviv commented Apr 3, 2023

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

Is there support for the ArangoDBAsync driver anywhere?

@rashtao rashtao self-assigned this Apr 4, 2023
@rashtao
Copy link
Collaborator

rashtao commented Apr 4, 2023

Currently Spring Data ArangoDB can only use the synchronous driver.

@ndtreviv
Copy link
Author

ndtreviv commented Jun 6, 2023

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

@rashtao
Copy link
Collaborator

rashtao commented Jul 27, 2023

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

@rashtao
Copy link
Collaborator

rashtao commented Feb 6, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants