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.
ensure call #disconnect() at the end of application life