seed_provider The addresses of hosts deemed contact points. Cassandra nodes use the -seeds list to find each other and learn the topology of the ring.
- class_name (Default: org.apache.cassandra.locator.SimpleSeedProvider)
The class within Cassandra that handles the seed logic. It can be customized, but this is typically not required.
- – seeds (Default: 127.0.0.1)
A comma-delimited list of IP addresses used by gossip for bootstrapping new nodes joining a cluster.
-
When running multiple nodes, you must change the list from the default value.
-
In multiple data-center clusters, the seed list should include at least one node from each datacenter (replication group).
-
More than a single seed node per datacenter is recommended for fault tolerance. Otherwise, gossip has to communicate with another datacenter when bootstrapping a node.
-
Making every node a seed node is not recommended because of increased maintenance and reduced gossip performance.
-
Gossip optimization is not critical, but it is recommended to use a small seed list (approximately three nodes per datacenter).