Java Driver Question

2016-02-02 Thread Richard L. Burton III
In the case of adding more nodes to the cluster, would my application have to be restarted to detect the new nodes (as opposed to a node acting like a coordinator). e.g., Having the Java code connect using 3 known contact points and when a 4th and 5th node are added, the driver will become aware o

Re: Java Driver Question

2016-02-02 Thread Jack Krupansky
No need to restart. As per the doc for Node Discovery: "The driver discovers the nodes that constitute a cluster by querying the contact points used in building the cluster object. After this it is up to the cluster's load balancing policy to keep track of node events (that is add, down, remove, or

Re: Java Driver Question

2016-02-02 Thread Richard L. Burton III
Very nice - Thanks Jack. I was looking at the docs and Contact Points but didn't see this. I'll use DNS records to manage the main contact points and update the DNS when those servers change. We should catch up again soon. Last time was a few years ago at the bar with Jake. On Tue, Feb 2, 2016 at

Re: Java Driver Question

2016-02-02 Thread Sylvain Lebresne
As a side note, if your email subject is "Java Driver Question", then this almost surely belong to the java driver mailing list. Please try to respect other subscribers by using the most appropriate mailing list when possible. On Tue, Feb 2, 2016 at 5:01 PM, Richard L. Burton III wrot

Re: Java Driver Question

2016-02-02 Thread Sebastian Estevez
Yes, topology changes get pushed to the client via the control connection: https://github.com/datastax/java-driver/blob/2.1/driver-core/src/main/java/com/datastax/driver/core/Cluster.java#L61 all the best, Sebastián On Feb 2, 2016 10:47 AM, "Richard L. Burton III" wrote: > In the case of addin

Re: Java Driver Question

2016-02-02 Thread Richard L. Burton III
I wasn't aware there was another mailing list specifically for this. Another question, is this behavior only related to the Java Drivers? On Tue, Feb 2, 2016 at 11:05 AM, Sylvain Lebresne wrote: > As a side note, if your email subject is "Java Driver Question", then this >

Re: Java Driver Question

2016-02-02 Thread Alex Popescu
On Tue, Feb 2, 2016 at 8:12 AM, Richard L. Burton III wrote: > is this behavior only related to the Java Drivers? All DataStax drivers for Cassandra provide the node discovery feature and are aware of the cluster topology. -- Bests, Alex Popescu | @al3xandru Sen. Product Manager @ DataStax

Re: Java Driver Question

2016-02-02 Thread Richard L. Burton III
Awesome! I love that. :) On Tue, Feb 2, 2016 at 11:14 AM, Alex Popescu wrote: > > On Tue, Feb 2, 2016 at 8:12 AM, Richard L. Burton III > wrote: > >> is this behavior only related to the Java Drivers? > > > All DataStax drivers for Cassandra provide the node discovery feature and > are aware o