Spring Mongo Populator one by one
问题 This bounty has ended . Answers to this question are eligible for a +50 reputation bounty. Bounty grace period ends in 14 hours . naXa wants to draw more attention to this question: I don't know the answer. Can anyone help? I'm using MongoDB and Spring over Kotlin and i want my application to populate a MongoDB collection upon startup. (and clean it every time it starts) My question is, how can i populate the data one by one in order to be fault tolerant in case some of the data I'm