Reputation: 189
I have a scenario where I need to connect to two buckets. Each bucket is in a different couchbase cluster. Is it possible to configure with two buckets which are in two different clusters?
Upvotes: 1
Views: 792
Reputation: 28301
It should be possible to define an additional Cluster
bean, associated Bucket
bean and CouchbaseTemplate
. It is certainly possible with 2 buckets within the same cluster, so you could start from there: http://docs.spring.io/spring-data/couchbase/docs/current/reference/html/#couchbase.repository.multibucket
Upvotes: 1