Register Event on Cluster reorganization

Is it possible to register an event that would be fired when Couchbase’s cluster reorganizes itself. For instance when a node is added or a node fails, I would like to recieve a notification.

Additionally, when the cluster reorganizes itself, I would like to query the system for the current vbucket assignments (AKA: partition table). Is that possible?

thanks for any advice

The cluster will stream updates on the buckets streaming URI as there are changes. Use this carefully though, as it’s a bit costly for the cluster. There are some other mechanisms we use from SDKs to see changes as they happen.

What is it you’re looking to do with the vbucket info, out of curiosity?