Content-Length: 283417 | pFad | https://github.com/Azure-Samples/cosmosdb-java-create-documentdb-and-get-mongodb-connection-string

9B GitHub - Azure-Samples/cosmosdb-java-create-documentdb-and-get-mongodb-connection-string: Create a DocumentDB and get MongoDB connection string using Java
Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Azure-Samples/cosmosdb-java-create-documentdb-and-get-mongodb-connection-string

Repository files navigation

page_type languages products description urlFragment
sample
java
azure
azure-cosmos-db
Azure Cosmos DB sample for high availability.
cosmosdb-java-create-documentdb-and-get-mongodb-connection-string

Create Azure Cosmos DB with MongoDB support (Java)

Azure Cosmos DB sample for high availability.

  • Create a Cosmos DB configured with MongoDB kind.
  • Get the mongodb connection string
  • Delete the Cosmos DB.

Running this sample

To run this sample:

Set the environment variable AZURE_AUTH_LOCATION with the full path for an auth file. See how to create an auth file.

git clone https://github.com/Azure-Samples/cosmosdb-java-create-documentdb-and-get-mongodb-connection-string.git
cd cosmosdb-java-create-documentdb-and-get-mongodb-connection-string
mvn clean compile exec:java

More information

http://azure.com/java

If you don't have a Microsoft Azure subscription you can get a FREE trial account here.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/Azure-Samples/cosmosdb-java-create-documentdb-and-get-mongodb-connection-string

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy