Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

Feature - Update Cassandra driver to 3.1 #76

Merged
merged 2 commits into from
Mar 31, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
<maven-surefire.version>2.21.0</maven-surefire.version>

<!-- External dependencies -->
<cassandra-driver.version>3.0.7</cassandra-driver.version>
<cassandra-unit.version>3.0.0.1</cassandra-unit.version>
<cassandra-driver.version>3.1.4</cassandra-driver.version>
<cassandra-unit.version>3.1.3.2</cassandra-unit.version>
<commons-logging.version>1.2</commons-logging.version>
<config4k.version>0.3.0</config4k.version> <!-- Last version to support Kotlin 1.x -->
<guava.version>19.0</guava.version> <!-- Compatibility issues with Guava v20 -->
Expand Down
8 changes: 4 additions & 4 deletions src/test/resources/cassandra-unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ authorizer: AllowAllAuthorizer
# Will be disabled automatically for AllowAllAuthorizer.
permissions_validity_in_ms: 2000


# The partitioner is responsible for distributing rows (by key) across
# nodes in the cluster. Any IPartitioner may be used, including your
# own as long as it is on the classpath. Out of the box, Cassandra
Expand Down Expand Up @@ -102,6 +101,9 @@ data_file_directories:
# commit log
commitlog_directory: target/embeddedCassandra/commitlog

# change data capture log
cdc_raw_directory: target/embeddedCassandra/cdc

# policy for data disk failures:
# stop: shut down gossip and Thrift, leaving the node effectively dead, but
# can still be inspected via JMX.
Expand All @@ -111,7 +113,6 @@ commitlog_directory: target/embeddedCassandra/commitlog
# ignore: ignore fatal errors and let requests fail, as in pre-1.2 Cassandra
disk_failure_policy: stop


# Maximum size of the key cache in memory.
#
# Each key cache hit saves 1 seek and each row cache hit saves 2 seeks at the
Expand Down Expand Up @@ -204,7 +205,6 @@ seed_provider:
# Ex: "<ip1>,<ip2>,<ip3>"
- seeds: "127.0.0.1"


# For workloads with more data than can fit in memory, Cassandra's
# bottleneck will be reads that need to fetch data from
# disk. "concurrent_reads" should be set to (16 * number_of_drives) in
Expand Down Expand Up @@ -586,4 +586,4 @@ server_encryption_options:
# protocol: TLS
# algorithm: SunX509
# store_type: JKS
# cipher_suites: [TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA]
# cipher_suites: [TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA]