How to create connection pool using Spring Data Cassandra?

940 views
Skip to first unread message

77....@gmail.com

unread,
Jun 9, 2014, 1:14:28 PM6/9/14
to spring-dat...@googlegroups.com
I don't see a way to create a connection pool using Spring Data Cassandra. Any suggestion? thanks.

Emily

David Webb

unread,
Jun 16, 2014, 2:41:24 PM6/16/14
to spring-dat...@googlegroups.com
There are no such things as Connection Pools like you are used to with RDBMS and JDBC.

SDC* Manages and Cluster and Session object for you which can be used my many concurrent operations. 

There are some PoolingOptions available on the DS Driver (And also available to be configured on the SDC* CassandraClusterFactoryBean).

http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/PoolingOptions.html
Reply all
Reply to author
Forward
0 new messages