java-driver
java-driver copied to clipboard
3.x: can't connect to the cluster when first node is non-responsive
Interface Endpoint contains only one method:
InetSocketAddress resolve()
Which returns only one record from only one endpoint.
It makes impossible to address problem when first DNS record points to a broken node.
We need another method that resolved one endpoint to List<InetSocketAddress> which will allow pick one that works later in the code.