Skip to content

Commit d987d75

Browse files
authored
Update performance-tips-java-sdk-v4.md
1 parent 64f1b8c commit d987d75

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

articles/cosmos-db/nosql/performance-tips-java-sdk-v4.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ int proactiveConnectionRegionsCount = 2;
7373
Duration aggressiveWarmupDuration = Duration.ofSeconds(1);
7474

7575
CosmosAsyncClient clientWithOpenConnections = new CosmosClientBuilder()
76-
.endpoint("")
76+
.endpoint("<account URL goes here")
77+
.key("<account key goes here>")
7778
.endpointDiscoveryEnabled(true)
7879
.preferredRegions(Arrays.asList("sample_region_1", "sample_region_2"))
7980
.openConnectionsAndInitCaches(new CosmosContainerProactiveInitConfigBuilder(Arrays.asList(containerIdentity))

0 commit comments

Comments
 (0)