I am a NODEJS developer and having a problem with the new native mongodb driver. My company is migrate mongodb servers to version 5.0 and we need make a upgrade in all applications to driver version 4.0 or more for guarantee compatibility. In this upgrade we saw a new behavior with new driver related with ChangeStream, when the Mongo Atlas make a rebalance of the replicaSet nodes, the application receive a close signal and we need restart the application for changeStream back. This behavior don’t used to happen in previous versions(<=4.0).
Somebody have this same problem?