Description
Example:
var serializer = serializerFactory.Create();
|
|
var clientConfig = new ClientConfiguration
|
|
{
|
|
UseSsl = databaseConfig.UseSsl,
|
|
TcpKeepAliveTime = databaseConfig.KeepAliveTimeInMilliseconds,
|
|
Servers = databaseConfig.ServerUrls
|
|
.Select(x => new Uri(x, UriKind.Absolute))
|
|
.ToList(),
|
|
Serializer = () => serializer
|
|
};
|
|
var cluster = new Cluster(clientConfig);
|
|
return cluster.OpenBucket(databaseConfig.BucketName, databaseConfig.BucketPassword);
|
|
|
Attachments
For Gerrit Dashboard: NCBC-1083 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
60071,3 | NCBC-1083: PoolConfiguration still uses default settings when overridden | master | couchbase-net-client | Status: MERGED | +2 | +1 |