2
votes

How do I set the following properties for the spark-cassandra-connector version 2.0.7:

  1. cassandra.pool.remote.coreConnectionsPerHost
  2. cassandra.allowRemoteDcsForLocalConsistencyLevel

Essentially I want to set it up so that there should be 0 connected clients to my remote dc and there should also be 0 reads/writes. Everything should be local to the DC I'm are running in.

Does setting spark.cassandra.connection.local_dc to a local DC achieve the same effect?

1

1 Answers