Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure compatibility with MongoDB Driver 5.x #4578

Closed
christophstrobl opened this issue Dec 1, 2023 · 0 comments
Closed

Ensure compatibility with MongoDB Driver 5.x #4578

christophstrobl opened this issue Dec 1, 2023 · 0 comments
Assignees
Labels
type: enhancement A general enhancement

Comments

@christophstrobl
Copy link
Member

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.

@christophstrobl christophstrobl added type: dependency-upgrade A dependency upgrade type: task A general task labels Dec 1, 2023
@christophstrobl christophstrobl self-assigned this Dec 1, 2023
@christophstrobl christophstrobl linked a pull request Jan 26, 2024 that will close this issue
mp911de added a commit that referenced this issue Jan 26, 2024
Move into util package. Remove circular dependencies, add nullability annotations, fix Javadoc.

Original pull request: #4624
See: #4578
mp911de added a commit that referenced this issue Jan 26, 2024
Reformat code. Add missing hints for reflective version detection.

Original pull request: #4624
See: #4578
mp911de pushed a commit that referenced this issue Jan 26, 2024
Original pull request: #4624
See: #4578
@mp911de mp911de added this to the 4.3 M1 (2024.0.0) milestone Jan 26, 2024
@mp911de mp911de added type: enhancement A general enhancement and removed type: dependency-upgrade A dependency upgrade type: task A general task labels Jan 26, 2024
mp911de added a commit that referenced this issue Jan 26, 2024
Reformat code. Add missing hints for reflective version detection.

Original pull request: #4624
See: #4578
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants