MongoDB V2 Connector > Mappings for MongoDB V2 > Configure additional properties
  

Configure additional properties

You can use a MongoDB V2 connection to read from or write to Azure CosmosDB MongoDB API.
When you run a mapping in advanced mode, you can configure the following optional parameters in the advanced source or target properties to connect to Azure CosmosDB MongoDB API:
throughput or maxthroughput
Request units per second for a read or write operation. Expressed in RUs (Request Units). Throughput is a positive integer and a multiple of 100. You can modify the throughput for a read or write operation and depending on the operation, you can configure throughput or maxthroughput property under the advanced source or target properties. If you do not specify a value, the mapping utilizes the configured throughput for the collection.
For example, throughput=1000.
You can specify maxthroughput in place of throughput for a MongoDB collection. This property allows you to autoscale the throughput from 10% of maxthroughput to the RUs specified in maxthroughput. For example, if maxthroughput=2000 RUs, the throughput automatically scales from 200 to 2000 RUs based on usage.
You must either specify throughput or maxthroughput based on the throughput mode configured for the Azure Cosmos collection as Azure CosmosDB MongoDB API allows switching between these modes only from the Azure portal.
shardkey
A field or column that MongoDB uses to distribute documents among members of a shard cluster. Use the column as a shard key while creating a new collection. Configure shardkey property under the advanced target properties.
For example, shardkey=logid.