Set Cassandra's replication factor in cassandra.yaml

1.7k Views Asked by At

I need to configure my single node cassandra with a global replication factor for all keyspaces I've and keyspaces I will create, AFAIK replication factor can be configured per keyspace or in cassandra.yaml file for all keyspaces.

did anyone try to configure Replication Factor in cassandra.yaml file ? and how ?

1

There are 1 best solutions below

1
On

I don't think it's possible to configure the replication factor in cassandra.yaml.

This is always done on a per keyspace basis. Since you only have a single node, you will need to configure a replication factor of 1 for your keyspaces.