openBucket(bucket, legacyEncodeString = true)
Open bucket with typesafe config load from key com.sandinh.couchbase.buckets.bucket
Open bucket with typesafe config load from key com.sandinh.couchbase.buckets.bucket
use as a subkey of typesafe config for open bucket.
set = true to choose CompatStringTranscoderLegacy, false to choose CompatStringTranscoder
extra customize transcoders.
couchbase will cache Bucket by name. So, if you need both legacyEncodeString & not-legacyEncodeString transcoder then you MUST create another cluster. see example in com.sandinh.couchbase.CompatStringSpec.bk1Compat
,JsTranscoder & CompatStringTranscoderLegacy | CompatStringTranscoder is auto passed to underlying CouchbaseAsyncCluster.openBucket
,
so don't need to be passed into transcoders
param.
openBucketSync(bucket, legacyEncodeString = true)
openBucketSync(bucket, legacyEncodeString = true)
You should never perform long-running blocking operations inside of an asynchronous stream (e.g. inside of maps or flatMaps)
https://issues.couchbase.com/browse/JVMCBC-79
You should never perform long-running blocking operations inside of an asynchronous stream (e.g. inside of maps or flatMaps)
https://issues.couchbase.com/browse/JVMCBC-79
ensure call #disconnect() at the end of application life