Connection management



Is there any best practice for connection management for couchbase connections? If one of the nodes in the cluster died, how the client get notified and start dipatching requests to other nodes? Also how does data that was in the died server start return from other nodes?

Should I use the ConnectionObserver and/or CouchbaseConnectionFactoryBuilder? Are there any code sample/documentation on that classes?