take partitionKey from options