Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Cassandra different replication factor across cluster

$
0
0

Is is possible to have different replication settings on different nodes of the same cluster? (All DCs have same keyspace/tables, but different replication settings)

We would like to have DC1 and DC2 collecting sensor data on different geographical locations, and sending these to a DC3. So DC3 contains all data from DC1 + DC2.

However, DC1 and DC2 should not contain each other's data (only data which was written by local clients).

Can this be achieved in Cassandra by having different keyspace replication settings on the DCs?

  • On DC1: 'DC1':1, 'DC3':1
  • On DC2: 'DC2':1, 'DC3':1
  • On DC3: 'DC3':1

Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>