I am new to Couchbase and integrating local Couchbase server from my Springboot application.
I initially had single node running and my application was able to insert documents using CrudRepository.
I recently configured multiple nodes on my localhost using Docker images, but now my Springboot application doesn’t work as expected.
Relevant section of my logs attached, according to which it looks like the service connects to all 3 nodes, but then immediately disconnects. for some reason
My config class looks like this…
public class CouchbaseConfig extends AbstractCouchbaseConfiguration {
@Override
public String getConnectionString() {
return "127.0.0.1";
}
@Override
public String getUserName() {
return "Administrator";
}
@Override
public String getPassword() {
return "password";
}
@Override
public String getBucketName() {
return "bucket";
}
}
Any helpful tips would be appreciated.
Many Thanks