Skip to content

Implemented BulkOperations API in MongoItemWriter #3721

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

Closed

Conversation

parikshitdutta
Copy link
Contributor

  • implemented BulkOperations API in MongoItemWriter
  • updated respective tests in MongoItemWriterTests to validate done changes

Closes BATCH-3713 [#3713]

@fmbenhassine
Copy link
Contributor

LGTM, rebased and merged as 629497d. Two tests were failing in MongoItemWriterBuilderTests but I fixed them on merge.

FYI, I did a quick benchmark here fmbenhassine/spring-batch-lab@20e2a34 and the version with bulk updates is 25x faster than the for loop version!

@parikshitdutta Thank you for your contribution 👍

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

Successfully merging this pull request may close these issues.

2 participants