Closed
Description
The MongoDB 5.x driver will come with a couple of API changes mainly removing already deprecated API.
The following changes cause compile changes in current main development line and should be resoslved.
MongoClientSettings#getStreamFactoryFactory()
is removed and needs to be checked viagetTransportSettings()
.MapReduceIterable
no longer supportssharded
ServerAddress
no longer offers the method to obtain anInetSocketAddress
. We should make use of the availablegetHost
andgetPort
methods.
Ideally we can resolve the issues in a way that allows to back port the changes to the 4.2.x branch, providing users with a seamless upgrade experience if they choose to use the 5.x driver along data 4.2 generation.