Skip to content

Add a property for MongoDB replica set name #20391

@juergenzimmermann

Description

@juergenzimmermann

MongoDB 4 provides transactions, but requires replica sets. Therefore, the clearly arranged properties database, host, username, password, authentication-database etc. cannot be used, but only the longish uri property where all these props have to be combined incl. the specified replica set.
IMO it would be nice to have an additional property e.g. spring.data.mongodb.replica-set.
Furthermore, the password can be specified separately and can easily be encoded when using Spring Cloud Config to serve the database props.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions