This is an example project to show multiple database host configuration or it could different database in same host.
- Spring Boot Starter 2.2.1.RELEASE
- Spring Data MongoDB 2.2.1.RELEASE
- Java 11
- Maven
- MongoDB
To run this application, you will need to create credentials present in src/resources/application.yml
- How to replace deprecated
SimpleMongoDbFactory
method? - How can I use char[] array password using
MongoCredential