是否可以使用具有事务支持的任何最新版本的 MongoDB 来实施 Spring 批处理的作业存储库?

Is it possible to Implement Job Repository of Spring Batch using any of the latest versions of MongoDB with transactional support?

我已经使用 mongo dB 完成了多个作业存储库的实现,但找不到任何稳定的,并且支持作业存储库中的事务。我还读过一条注释,不建议将 mongo 数据库用于作业存储库,因为它不支持事务。因此需要了解使用具有事务支持的任何最新版本的 mongo 数据库实施作业存储库的可能性。

I have also read a note, that mongo DB is not recommended for job repository as it does not support transactions.

MongoDB 在 v4. There is a feature request against Spring Batch to use MongoDB as a job repository: https://github.com/spring-projects/spring-batch/issues/877 中添加了对事务的支持,但此功能尚未实现。