Replication acknowledgement with Spring data couchbase

I am using Spring data couchbase in my project .
By default it provides an acknowledgement when the data is written into the ram .
If the node goes down before the replication process is complete i lose the data .

I want to get an acknowlegement on replication like the option available in the regular java sdk .

Can Spring data couchbase support this ?

Thanks,
Ritesh

Yes by using the replicateTo option in CouchbaseTemplate http://docs.spring.io/spring-data/couchbase/docs/current/api/org/springframework/data/couchbase/core/CouchbaseTemplate.html#insert-java.util.Collection-com.couchbase.client.java.PersistTo-com.couchbase.client.java.ReplicateTo-