0
val client = new DocumentClient(endpoint,
masterKey,
new ConnectionPolicy(),
ConsistencyLevel.Session)
val collectionInfo = new DocumentCollection()
collectionInfo.setId("test")
val requestOptions = new RequestOptions()
requestOptionsNew.setOfferThroughput(1200)
client.createCollection("/dbs/xxx", collectionInfo, requestOptions)
上記のコードスニペットは、コレクションの作成時にスループットを設定するのに役立ちます。このコレクションのスループット値を変更する方法を知っている人は誰ですか? ありがとうございます。java sdkを使用してコレクションのスループットを修正する方法は?
ありがとうございます。私はあなたのコメントに基づいて既存のコレクションのスループットを変更する方法を考え出しました。 –