Couchbase
Last updated
Last updated
Kubemq couchbase target connector allows services using kubemq server to access couchbase database services.
The following are required to run the couchbase target connector:
kubemq cluster
couchbase server
kubemq-targets deployment
Couchbase target connector configuration properties:
Example:
Get request metadata setting:
Example:
Set request metadata setting:
Set request data setting:
Example:
Delete request metadata setting:
Example:
Properties Key
Required
Description
Example
url
yes
couchbase host address
"localhost"
username
no
couchbase username
"couchdb"
password
no
couchbase password
"couchdb"
bucket
no
set bucket name
"bucket"
num_to_replicate
no
set replication number
"1"
num_to_persist
no
set persistence number
"1"
collection
no
set collection name
"collection"
Metadata Key
Required
Description
Possible values
key
yes
couchbase key string
any string
method
yes
get
"get"
Metadata Key
Required
Description
Possible values
key
yes
couchbase key string
any string
method
yes
set
"set"
cas
no
set cas value
"0"
expiry_seconds
no
set key expiry in seconds
"3600"
Data Key
Required
Description
Possible values
data
yes
data to set for the couchbase key
base64 bytes array
Metadata Key
Required
Description
Possible values
key
yes
couchbase key string
any string
method
yes
set
"delete"
cas
no
set cas value
"0"