Azure / azure-cosmosdb-java

Java Async SDK for SQL API of Azure Cosmos DB
MIT License
54 stars 61 forks source link

Prefer Direct mode over Gateway #84

Closed chetanmeh closed 5 years ago

chetanmeh commented 5 years ago

With 2.4 release its mentioned that Direct mode access is supported now. Per docs its mentioned that Direct mode if supported by SDK should be preferred over gateway mode.

Wanted to check if its fine to always enable direct mode now or there are some other aspects pne need to consider before enabling this mode

moderakh commented 5 years ago

@chetanmeh go with direct mode. if you face any issue we are here to help. :-)

christopheranderson commented 5 years ago

In the next major version of the SDK, we'll be making Direct mode on by default (with opt-in to use Gateway mode instead).

christopheranderson commented 5 years ago

Done in V3