Manish Khandelwal
Manish Khandelwal

Reputation: 2310

How to use Datastax java driver for knowing a node is down in the Cassandra cluster?

How can we use Datastax Java Driver to know down nodes in Cassandra Cluster? Does metadata of driver is updated continuously or do we have to register any listeners?

Upvotes: 1

Views: 178

Answers (1)

Aaron
Aaron

Reputation: 57748

The driver consumes gossip info with the cluster. If a node is down, it’ll know it and not route traffic to it. No worries about engineering anything to do it yourself.

Upvotes: 2

Related Questions