I'm trying to use Azure Cosmos DB instead of MongoDB with my Spring boot app.
Currently, I'm using the mongo.host/database/port
properties. I couldn't find where I can set the SSL option and replicaSet or alternatively the full client URI.
This is the code they suggesting and it's working, but it's not helping me...
MongoClient mongoClient = new MongoClient(
new MongoClientURI("mongodb://[user]:[pass]@[host]:[port]/?ssl=true&replicaSet=globaldb"));