Redis
Last updated
Last updated
Kubemq redis target connector allows services using kubemq server to access redis server functions such set
, get
and delete
.
The following are required to run the redis target connector:
kubemq cluster
redis v5.0.0 (or later)
access to gcp redis server
kubemq-targets deployment
Redis 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
redis connection string
"redis://localhost:6379"
Metadata Key
Required
Description
Possible values
key
yes
redis key string
any string
method
yes
get
"get"
Metadata Key
Required
Description
Possible values
key
yes
redis key string
any string
method
yes
set
"set"
etag
no
set etag version
"0"
concurrency
no
set concurrency
""
"first-write"
"last-write"
consistency
no
set consistency
""
"strong"
"eventual"
Data Key
Required
Description
Possible values
data
yes
data to set for the redis key
base64 bytes array
Metadata Key
Required
Description
Possible values
key
yes
redis key string
any string
method
yes
delete
"delete"