Add PoolingOptions to CasandraProperties

This change allows users to configure some basic pooling
options for cassandra driver via configuration properties.

See gh-7946
This commit is contained in:
Vladimir Tsanev
2017-01-11 02:10:33 +02:00
committed by Stephane Nicoll
parent 605dee4700
commit 2aafc7daa9
4 changed files with 85 additions and 0 deletions

View File

@@ -588,8 +588,11 @@ content into your application; rather pick only the properties that you need.
spring.data.cassandra.consistency-level= # Queries consistency level.
spring.data.cassandra.contact-points=localhost # Comma-separated list of cluster node addresses.
spring.data.cassandra.fetch-size= # Queries default fetch size.
spring.data.cassandra.heartbeat-interval-seconds= # Pooling option: heartbeat interval.
spring.data.cassandra.keyspace-name= # Keyspace name to use.
spring.data.cassandra.load-balancing-policy= # Class name of the load balancing policy.
spring.data.cassandra.max-requests-per-connection.*= # Pooling option: max requests per connection.
spring.data.cassandra.max-queue-size= # Pooling option: max queue size.
spring.data.cassandra.port= # Port of the Cassandra server.
spring.data.cassandra.password= # Login password of the server.
spring.data.cassandra.reactive-repositories.enabled=true # Enable Cassandra reactive repositories.