environment = ClusterEnvironment.builder()
.ioConfig(
ClusterEnvironment.builder().ioConfig().numKvConnections(couchbaseProps.getKvConnections())
))
.build();
cluster = Cluster.connect(couchbaseProps.getHostname(),
ClusterOptions.clusterOptions(couchbaseProps.getUsername(), couchbaseProps.getPassword())
.environment(environment)
);
how can be set number of fix retry if user/password in the given incorrect ,currently its running infinite time