Memcached
Kubemq memcached target connector allows services using kubemq server to access memcached server functions such set
, get
and delete
.
Prerequisites
The following are required to run the memcached target connector:
kubemq cluster
memcached server
kubemq-targets deployment
Configuration
Memcached target connector configuration properties:
Properties Key
Required
Description
Example
hosts
yes
memcached servers list address separated by comma
"localhost:11211,localhost:11212"
max_idle_connections
no
set max idle connection
"2"
default_timeout_seconds
no
set default timeout seconds for operation
"10"
Example:
Usage
Get Request
Get request metadata setting:
Metadata Key
Required
Description
Possible values
key
yes
memcached key string
any string
method
yes
get
"get"
Example:
Set Request
Set request metadata setting:
Metadata Key
Required
Description
Possible values
key
yes
memcached key string
any string
method
yes
set
"set"
Set request data setting:
Data Key
Required
Description
Possible values
data
yes
data to set for the memcached key
base64 bytes array
Example:
Delete Request
Delete request metadata setting:
Metadata Key
Required
Description
Possible values
key
yes
memcached key string
any string
method
yes
delete
"delete"
Example:
Last updated