ConnectionPoolConfigurationImpl poolConfig = new ConnectionPoolConfigurationImpl("MyConnectionPool")
.setMaxConnsPerHost(20)
.setInitConnsPerHost(2)
.setSeeds(seeds2)
.setConnectTimeout(10000)
.setRetryBackoffStrategy(new FixedRetryBackoffStrategy(5000, 30000));
Object username = properties.get(Bootstrap.CASSANDRA_USERNAME);
Object password = properties.get(Bootstrap.CASSANDRA_PASSWORD);
if (username != null && password != null) {
poolConfig.setAuthenticationCredentials(new SimpleAuthenticationCredentials(""+username, ""+password));