Options options = new IsolatedCoordinator.Options()
.topologyBehavior(TopologyBehavior.WRAP_AT_END)
.failoverNumNodes(couchbaseProperties.getFailoverNumNodes())
.gracePeriod(couchbaseProperties.getClusterGracePeriodMilliSeconds())
.clusterSpecs(specs);
And the application.properties has the failover property
couchbase.failoverNumNodes=2