All Downloads are FREE. Search and download functionalities are using the official Maven repository.

akka.akka-persistence-cassandra_2.12.1.1.1.source-code.test-embedded-cassandra.yaml Maven / Gradle / Ivy

# Cassandra storage config YAML
# Reference: http://docs.datastax.com/en/cassandra/3.x/cassandra/configuration/configCassandra_yaml.html

# NOTE:
#   See http://wiki.apache.org/cassandra/StorageConfiguration for
#   full explanations of configuration directives
# /NOTE

# The name of the cluster. This is mainly used to prevent machines in
# one logical cluster from joining another.
cluster_name: 'Test Cluster'

# directories where Cassandra should store data on disk.
data_file_directories:
    - $DIR/data

# commit log
commitlog_directory: $DIR/commitlog

# saved caches
saved_caches_directory: $DIR/saved_caches

hints_directory: $DIR/hints

cdc_raw_directory: $DIR/cdc_raw

commitlog_sync: periodic
commitlog_sync_period_in_ms: 10000

partitioner: org.apache.cassandra.dht.Murmur3Partitioner

endpoint_snitch: SimpleSnitch

listen_address: $HOST

start_native_transport: true
# port for the CQL native transport to listen for clients on
native_transport_port: $PORT

# TCP port, for commands and data
storage_port: $STORAGE_PORT

# Whether to start the thrift rpc server.
start_rpc: false


seed_provider:
    - class_name: org.apache.cassandra.locator.SimpleSeedProvider
      parameters:
          - seeds: "$HOST"


# The following settings were inspired by
# http://opensourceconnections.com/blog/2013/08/31/building-the-perfect-cassandra-test-environment/
rpc_server_type: hsha
concurrent_reads: 2
concurrent_writes: 2
rpc_min_threads: 1
rpc_max_threads: 1
concurrent_compactors: 1
compaction_throughput_mb_per_sec: 0
key_cache_size_in_mb: 0
hinted_handoff_enabled: false




© 2015 - 2025 Weber Informatics LLC | Privacy Policy