}
String socketUrl = benchmarkProps.getString(URL);
String storeName = benchmarkProps.getString(STORE_NAME);
ClientConfig clientConfig = new ClientConfig().setMaxThreads(numThreads)
.setMaxTotalConnections(numThreads)
.setMaxConnectionsPerNode(numConnectionsPerNode)
.setRoutingTimeout(1500,
TimeUnit.MILLISECONDS)
.setSocketTimeout(1500,
TimeUnit.MILLISECONDS)
.setConnectionTimeout(500,
TimeUnit.MILLISECONDS)
.setRequestFormatType(RequestFormatType.VOLDEMORT_V3)
.setBootstrapUrls(socketUrl);
// .enableDefaultClient(true);
if(clientZoneId >= 0) {
clientConfig.setClientZoneId(clientZoneId);
}
SocketStoreClientFactory socketFactory = new SocketStoreClientFactory(clientConfig);
this.storeClient = socketFactory.getStoreClient(storeName);
StoreDefinition storeDef = getStoreDefinition(socketFactory, storeName);
this.keyType = findKeyType(storeDef);