GitHub repository: Azure-Samples/azure-cosmos-db-mongodb-java-geo-readpreference
Primary language: Java
Description: This sample shows you how to use ReadPreference command against Azure Cosmos DB for MongoDB API account from a Java application.