This content has been marked as final.
Show 2 replies
-
1. Re: How to identify a Cassandra database cluster to Infinispan
nadirx Jun 1, 2013 3:58 PM (in response to trevorh2)1 of 1 people found this helpfulTrevor, the Cassandra CacheStore actually uses a thrift connection pool library I wrote a while ago which can use Cassandra's describe_ring functionality to obtain the dynamic list of hosts.
Just place a cassandrapool.properties file in your classpath with the following properties:
host=host1,host2,host3
automaticHostDiscovery=true
See here for more details:
https://github.com/tristantarrant/cassandra-connection-pooland in particular
for all supported configuration properties (I will write better docs soon).
Tristan
-
2. Re: How to identify a Cassandra database cluster to Infinispan
trevorh2 Jun 7, 2013 12:22 PM (in response to nadirx)Thanks for the reply Tristan. We have not tested this yet but it looks good and should still allow us to support multiple environments as required so is promising. Will update when confirmed. Thanks again.