[go: up one dir, main page]

Skip to content

Cassandra

Options

services.cassandra.enable

Whether to enable Add Cassandra process script…

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/cachix/devenv/blob/main/src/modules/services/cassandra.nix

services.cassandra.package

Which version of Cassandra to use

Type: package

Default:

pkgs.cassandra_4

Example:

pkgs.cassandra_4;

Declared by: - https://github.com/cachix/devenv/blob/main/src/modules/services/cassandra.nix

services.cassandra.allowClients

Enables or disables the native transport server (CQL binary protocol)

Type: boolean

Default:

true

Declared by: - https://github.com/cachix/devenv/blob/main/src/modules/services/cassandra.nix

services.cassandra.clusterName

The name of the cluster

Type: string

Default:

"Test Cluster"

Declared by: - https://github.com/cachix/devenv/blob/main/src/modules/services/cassandra.nix

services.cassandra.extraConfig

Extra options to be merged into cassandra.yaml as nix attribute set.

Type: attribute set

Default:

{ }

Example:

{
  commitlog_sync_batch_window_in_ms = 3;
}

Declared by: - https://github.com/cachix/devenv/blob/main/src/modules/services/cassandra.nix

services.cassandra.jvmOpts

Options to pass to the JVM through the JVM_OPTS environment variable

Type: list of string

Default:

[ ]

Declared by: - https://github.com/cachix/devenv/blob/main/src/modules/services/cassandra.nix

services.cassandra.listenAddress

Listen address

Type: string

Default:

"127.0.0.1"

Example:

"127.0.0.1"

Declared by: - https://github.com/cachix/devenv/blob/main/src/modules/services/cassandra.nix

services.cassandra.seedAddresses

The addresses of hosts designated as contact points of the cluster

Type: list of string

Default:

[
  "127.0.0.1"
]

Declared by: - https://github.com/cachix/devenv/blob/main/src/modules/services/cassandra.nix