Is node-red-node-mongodb- node in near future out of support? (solved)

I used this node to access my mongo-db. (I thought this is the official one). Until now - it is working as expected. However I get the following error in the console:

(node:17736) [MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
(Use `node --trace-warnings ...` to show where the warning was created)

Does this mean that the node will be no longer supported - or that I can't access the mongo-DB with this nodes?

I was getting this warning also with this node ..
its something relating to how the connection is made to the mongo database ..
you can pass the correct option in the Mongo Config

image

If there are significant changes with the underlying mongo driver library im sure there's going to be an update for the node also.. but i doubt that the changes are going to be so critical that it wont be able to connect.

1 Like

Thank you very much. :slight_smile:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.