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
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
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
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
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
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
>
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
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