// some other settings we may be interested in down the road, see here for more details:
// https://github.com/rantav/hector/wiki/User-Guide
if (hectorBalancingPolicy != null) {
if (hectorBalancingPolicy.equals("LeastActiveBalancingPolicy")) {
cassandraHostConfigurator.setLoadBalancingPolicy(new LeastActiveBalancingPolicy());
} else if (hectorBalancingPolicy.equals("RoundRobinBalancingPolicy")) {
cassandraHostConfigurator.setLoadBalancingPolicy(new RoundRobinBalancingPolicy()); //default
} else if (hectorBalancingPolicy.equals("DynamicLoadBalancingPolicy")) {
cassandraHostConfigurator.setLoadBalancingPolicy(new DynamicLoadBalancingPolicy());
}