Aerospike Client
The Aerospike Client destination writes data to Aerospike. For information about supported versions, see Supported Systems and Versions in the Data Collector documentation.
The Aerospike Client destination connects to an Aerospike node and then discovers other nodes in the same cluster. The destination writes records to a namespace and optionally in a set. The destination can write any record or only records that have a particular generation or revision value, such as new records or records that have been revised. The destination can require confirmation from all nodes in the cluster or only the primary node. When the destination cannot write a record, the destination adds attributes to the record header and sends the record for error processing.
When you configure the Aerospike Client destination, you define connection information and select the authentication mode that the destination uses for server access. In addition, you can enable the destination to use TLS. You can also use a connection to configure the destination.
You configure the information used to write the data, such as the namespace and set to write to, and whether to merge or append data from map or list fields. You can also set advanced Aerospike configurations, such as the commit level requested from Aerospike, whether to prevent deleted records from reappearing after node failures, and the time to live for each record.
Enabling SSL/TLS
Aerospike Data Types
The Aerospike Client destination converts Data Collector data types into Aerospike data types before writing data to Aerospike.
Data Collector Data Type | Aerospike Data Type |
---|---|
Boolean | Boolean |
Byte | Integer |
Byte_Array | Blob/Bytes |
Char | Integer - Aerospike stores the ASCII value of the character. |
Date | String |
Datetime | String |
Decimal | Double |
Double | Double |
Float | Double |
Integer | Integer |
List | List |
List_Map | Map |
Long | Integer |
Short | Integer |
String | String |
Time | String |
Zoned_Datetime | String |
Error Record Header Attributes
Error Record Header Attribute | Description |
---|---|
aerospike-error-result-code | Code associated with the error. For a list of the codes, see the Aerospike documentation. |
aerospike-error-detail | Short description of the error. |
Configuring an Aerospike Client Destination
Configure an Aerospike Client destination to write data to Aerospike.