Skip to content

Ensure compatibility with MongoDB Driver 5.x #4578

Closed
@christophstrobl

Description

@christophstrobl

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 via getTransportSettings().
  • MapReduceIterable no longer supports sharded
  • ServerAddress no longer offers the method to obtain an InetSocketAddress. We should make use of the available getHost and getPort 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.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions