ClusterNodes
- Last Updated: February 11, 2026
- 1 minute read
- DataDirect Connectors
- JDBC
- Apache Cassandra 6.0
- Documentation
Purpose
A comma-separated list of member nodes in your cluster to which the driver attempts to connect. Specifying a value for this property enables connection failover and load balancing when connecting to a cluster.
Valid Values
server_name |
port_number
[, ...]
where:
- server_name
- is the name of a server for a member node or the IP address of the server for a member node in the replica-set cluster to which you want to connect.
- port_number
-
is the port number of the server listener for the corresponding member node.
For example:
server1:9042,255.125.1.11:9043,"2001:DB8:0000:0000:8:800:200C:417A":9044
Notes
- When specifying a value for this property, the driver randomly selects from the list for a server node to first attempt a connection. If that connection fails, the driver again randomly selects another server node from this list until all servers in the list have been tried or a connection is successfully established.
Data Source Method
setClusterNodes
Default
Empty string
Data Type
String