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

[repository] [mongodb] Add Support for MongoDB SRV Records #1208

Closed
DaspawnW opened this Issue Apr 12, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@DaspawnW

DaspawnW commented Apr 12, 2018

The 3.6 MongoDB Driver supports SRV Record DNS Lookup. This allows good integration into Consul Cluster (As you also support for Discovering endpoints)

Expected Behavior

If I write a connection url in format mongodb+srv://server.example.com/ the MongoDB Driver should ask a DNS Server for a SRV Record to resolve connection information.

Current Behavior

Not Working

Possible Solution

Upgrade of the Mongo Version to 3.6 in the gravitee-repository-mongodb github project

@brasseld brasseld changed the title from Add Support for MongoDB SRV Records to [repository] [mongodb] Add Support for MongoDB SRV Records Apr 12, 2018

@brasseld brasseld added this to the 1.16.0 milestone Apr 12, 2018

@brasseld

This comment has been minimized.

Member

brasseld commented Apr 12, 2018

Ok, according to the compatibility matrice, upgrade to 3.6 may be done quite safely.
http://mongodb.github.io/mongo-java-driver/3.6/upgrading/#compatibility

Need to have a look to Spring Data support because latest version assert compatibility only for Mongo 3.4 : https://docs.spring.io/spring-data/mongodb/docs/1.10.11.RELEASE/reference/html/#new-features.1-10-0

brasseld added a commit to gravitee-io/gravitee-repository-mongodb that referenced this issue Apr 25, 2018

@brasseld brasseld self-assigned this Apr 25, 2018

NicolasGeraud added a commit to gravitee-io/gravitee-repository-mongodb that referenced this issue May 4, 2018

GGui added a commit to GGui/gravitee-repository-mongodb that referenced this issue May 24, 2018

GGui pushed a commit to GGui/gravitee-repository-mongodb that referenced this issue Jun 11, 2018

GGui pushed a commit to GGui/gravitee-repository-mongodb that referenced this issue Jun 11, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment