Interface ClusterConfigProvider


  • public interface ClusterConfigProvider
    Interface to supply cluster topology information for CDC: the Cassandra partitioner, the datacenter where CDC is enabled, CassandraInstance objects describing the cluster topology.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String dc()  
      java.util.Set<org.apache.cassandra.spark.data.partitioner.CassandraInstance> getCluster()  
      org.apache.cassandra.spark.data.partitioner.Partitioner partitioner()  
    • Method Detail

      • dc

        java.lang.String dc()
        Returns:
        the datacenter name where CDC is enabled.
      • getCluster

        java.util.Set<org.apache.cassandra.spark.data.partitioner.CassandraInstance> getCluster()
        Returns:
        set of CassandraInstance objects describing the entire ring topology, including other datacenters.
      • partitioner

        org.apache.cassandra.spark.data.partitioner.Partitioner partitioner()
        Returns:
        the Cassandra partitioner configured on the cluster.