Skip to content

Conversation

@rkhaja
Copy link
Contributor

@rkhaja rkhaja commented Aug 2, 2019

I've added logging to the importDocuments method as well as created 2 additional JUnit tests.

rkhaja added 20 commits July 26, 2019 15:30
…details take into account position of documents within each partition.
@rashtao
Copy link
Collaborator

rashtao commented Aug 13, 2019

Thanks for your work @rkhaja !

Unfortunately we internally decided not to include for the moment the batch processing functionalities into the driver. This because batch processing has many caveats and it involves quite a broader set of requirements in order to be reliable and useful.
In order to achieve it you can for example use Spring Batch and configure it to use ArangoDB driver (or Spring Data ArangoDB).
If you are just interested in calling the driver in parallel from many threads, you can look at this example using the ArangoDB asynchronous driver:

https://github.com/arangodb/arangodb-java-driver-async/blob/1aea50201efc896121f213d52b736353dc1e2879/src/test/java/com/arangodb/example/document/ImportDocumentExample.java#L48

@rkhaja
Copy link
Contributor Author

rkhaja commented Aug 19, 2019

Ok. No problem.

@rkhaja rkhaja closed this Aug 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants