Skip to content

openbucket issue.  #2

@madanctc

Description

@madanctc

Hi
openbucket is having 2 parameter (username, pwd). its not allowing bucket time out and time units. with out these 2 parameter my services are throwing timeout exception. i have written simple code which is working but not in spring-data-couchbase.

    	 CouchbaseEnvironment env =
				   DefaultCouchbaseEnvironment
				   .builder().connectTimeout(10000)
				   .kvTimeout(5000) //in ms
				   .build();
		
		Cluster cluster = CouchbaseCluster.create(env,hostIp);
		cluster.authenticate(bktName,bktpwd); 
		 
		Bucket bucket = cluster.openBucket(bktName  , bktTimeout, TimeUnit.SECONDS);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions