Backend Specific Settings
Configuration settings in the cassandra-reaper.yaml that are specific to a particular backend.
The following settings are specific to a Reaper deployment that is backed by an Apache Cassandra database. Note that Cassandra backend configuration relies on the Dropwizard-Cassandra module.
Records the CQL calls made to the Cassandra backend in the log output.
Settings to configure Reaper to use Cassandra for storage of its control data. Reaper uses the Cassandra Java driver version 3.1.4 to perform operations on the cluster. An example of the configuration settings for the driver are as follows.
cassandra: clusterName: "test" contactPoints: ["127.0.0.1"] keyspace: reaper_db loadBalancingPolicy: type: tokenAware shuffleReplicas: true subPolicy: type: dcAwareRoundRobin localDC: usedHostsPerRemoteDC: 0 allowRemoteDCsForLocalConsistencyLevel: false authProvider: type: plainText username: cassandra password: cassandra
Definitions for some of the above sub-settings are as follows.
Name of the cluster to use to store the Reaper control data.
Type: Array (comma separated Strings)
Seed nodes in the Cassandra cluster to contact.
["127.0.0.1", "127.0.0.2", "127.0.0.3"]
Name of the keyspace to store the Reaper control data.
Settings to configure the policies used to generate the query plan which determines the nodes to connect to when performing query operations. Further information can be found in the Cassandra Java driver Load balancing section.
Settings to configure a child policy which used if the initial policy fails to determine a node to connect to.
The policy type used to contribute to the computation of the query plan.
Specifies the name of the datacenter closest to Reaper when using the
If native protocol authentication is enabled on Cassandra, settings configure Reaper to pass credentials to Cassandra when establishing a connection.
Cassandra native protocol username.
Cassandra native protocol password.
H2 or Postgres Database Settings
The following settings are specific to a Reaper deployment that is backed by either a H2 or Postgres database. An example of the configuration settings for a Postgres database are as follows.
postgres: url: jdbc:postgresql://127.0.0.1/reaper user: postgres password:
Definitions for the above sub-settings are as follows.
Settings to configure Reaper to use H2 for storage of its control data.
Settings to configure Reaper to use Postgres for storage of its control data.
WARNING this setting is DEPRECATED and its usage should be avoided.
Specifies the driver to use to connect to the database.
Specifies the URL to connect to the database (either H2 or Postgres) on.