How to get the cluster status in java

Hi Friends,

I have a cluster with 5 nodes and i want to get the couchbase cluster health and status. How can i approach to get the same information using Java API?

Thanks and Regards
Rajesh Reddy

There’s a REST API that lets you get various data from the cluster, detailed here

In addition there’s a Java API for subscribing to status events here, which allows you to build a sophisticated status monitoring solution.

Hope this helps :slight_smile: