How to connect to multiple buckets of couchbase using Java SDK

Our requirement is the collections are in two buckets. Could you please help me to provide the code snippet to connect to multiple buckets.
To connect with single bucket we are using class extends AbstractConfiguration and the same using in Couchbase Repository class (I guess this configuration will take care automatically by CouchbaseRepository class)

If I need to create a customcouchbaseRepository to connect to new bucket, how can I do, Plz help me.

See Missing couchbase.repository.multibucket documentation (4.x) [DATACOUCH-570] · Issue #878 · spring-projects/spring-data-couchbase · GitHub

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.