Aerospike
Kubemq Aerospike target connector allows services using kubemq server to access Aerospike database services.
Prerequisites
The following are required to run the Aerospike target connector:
kubemq cluster
Aerospike server
kubemq-targets deployment
Configuration
Aerospike target connector configuration properties:
Properties Key | Required | Description | Example |
host | yes | Aerospike host address | "localhost" |
port | yes | Aerospike host port | "3000" |
username | no | Aerospike username | "admin" |
password | no | Aerospike password | "password" |
timeout | no | set timeout in seconds | "30" |
Example:
Usage
Get Request
Get request metadata setting:
Metadata Key | Required | Description | Possible values |
key | yes | key string | any string |
user_key | yes | user key string | any string |
namespace | yes | namespace name | any string |
method | yes | get | "get" |
Example:
Set Request
Set request metadata setting:
Metadata Key | Required | Description | Possible values |
key | yes | Aerospike 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 Aerospike key | base64 bytes array |
Example:
Delete Request
Delete request metadata setting:
Metadata Key | Required | Description | Possible values |
key | yes | key string | any string |
user_key | yes | user key string | any string |
namespace | yes | namespace name | any string |
method | yes | delete | "delete" |
Example:
Last updated