question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for MongoDB 4.x synchronous/legacy driver

See original GitHub issue

Initially reported in our forum

Our current support for MongoDB is limited to 3.x version of the driver.

https://mongodb.github.io/mongo-java-driver/4.1/driver/getting-started/installation/

There are two variants of the driver to support:

  • mongo-driver-sync
  • mongodb-driver-legacy (probably close to 3.x driver)

Driver/Server Compatibility matrix

Also, there is also a newer streams-based driver that should probably be covered with a separate implementation issue. https://mongodb.github.io/mongo-java-driver/4.1/driver-reactive/


EDIT: As mentioned in the comments below, there is also another variant for which we might have to check or add proper support: https://mvnrepository.com/artifact/org.mongodb/mongodb-driver-core

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:9
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
aaqibjavithcommented, Jan 11, 2021

@SylvainJuge Thanks for the update. I am excited to test the snapshot version.

1reaction
SylvainJugecommented, Jan 11, 2021

Hi @aaqibjavith , we don’t have an exact timeline for this:

  • stack releases ship when they are ready, thus we don’t communicate a release date on them to ensure proper quality & prevent frustration when it’s delayed.
  • agent releases are not 100% synchronized with stack releases, thus we might get it done either before or after 7.12 release.
  • in this repository, milestones are used to indicate which time frame we aim to deal with issues.

When we start working on this, would you be interested in testing a snapshot version to ensure your use-case is properly covered ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Conversion from mongodb-driver-legacy to mongodb-driver ...
Is there any documentation that discusses converting an existing application from the mongodb-driver-legacy to the mongodb-driver-sync ...
Read more >
Driver Compatibility - MongoDB
Please check our driver documentation page home for the latest information on driver compatibility with MongoDB and driver languages.
Read more >
MongoDB Java Driver — Java Sync
Welcome to the documentation site for the Java Driver, the official MongoDB driver for synchronous Java applications. Download it using Maven or Gradle ......
Read more >
Upgrade Driver Versions — Java Sync - MongoDB
In this section, you can identify the changes you need to make to your application to upgrade your driver to a new version....
Read more >
MongoDB Java Drivers
You can add one of the following drivers to your application to work with MongoDB in Java: Use the Java Driver for synchronous...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found