Pentaho

 View Only

PDI CE 9.4: updating MongoDB java driver to more recent versions

This thread has been viewed 4 times
  • 1.  PDI CE 9.4: updating MongoDB java driver to more recent versions

    Posted 05-04-2023 04:41

    Hello everyone,
      I have seen that the MongoDB Input/Output steps in PDI CE 9.4 use the mongodb plugin pentaho-mongodb-plugin-9.4.0.0-343 which in its turns it's using the mongo-java-driver-3.12.10. This driver is quite old and is based on the legacy API. Simply replacing the mongo-dava-driver-3.12.10.jar with a newer  release (4.4 and above) is not working because it seems to me that some code must be migrated.

    Do you know if there is a quick option (plug and play) to update the Mongo java driver? If not, which are the steps to go through in order to migrate the pentaho-mongodb-plugin such that it is compatible with the newer mongodb java driver?

    Thank you



    ------------------------------
    Antonio Petrella
    Data Service Manager
    UNOG
    ------------------------------