java学到哪里最容易蒙,蒙哥比vs蒙克(目前最好的哪个)
I'm planning to integrate mongodb based migration tool in my spring boot application which is having spring-data dependency in project. I found main two libraries 1) Mongobee 2) Mongock.
I need some feedback which one should i choose ? Thanks in advance!
解決方案
mongobee has incompatibilities starting with version 4.2 of MongoDB, and versions of the Mongo Java driver starting with version 4. Specifically, mongobee uses the system.indexes collection, which was removed in MongoDB 4.2 (mongobee#104). It also uses version 3 of the Mongo Java libraries, which is incompatible with changes made in version 4 of those libraries (mongobee#115). Additionally, by all appearances, mongobee has been abandoned since 2018.
Removal of system.indexes and system.namespaces Collections
Starting in version 4.2, MongoDB removes the system.indexes and system.namespaces collections (deprecated since v3.0).
Mongo JVM Drivers: What’s New
What's new in 4.0
This release adds no new features but, as a major release, contains breaking changes that may affect your application. Please consult the
Upgrading Guide for an enumeration of the breaking changes.
Mongock, on the other hand, is actively maintained and supports the newest MongoDB versions and Java libraries.
Mongock is therefore going to be the better choice of libraries in virtually all practical situations.
總結
以上是生活随笔為你收集整理的java学到哪里最容易蒙,蒙哥比vs蒙克(目前最好的哪个)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 详细地图_一目了然:蒙城学区划分详细地图
- 下一篇: 6000毫安以上智能手机_展望2021年