Hey @K_Kumaravel,
Are they buckets on the same cluster? See also here:
If you haven’t yet set up buckets in Couchbase, have you looked at using different collections instead?
https://docs.couchbase.com/java-sdk/current/howtos/working-with-collections.html