Skip to content

Aerospike connector compatibility with Elasticsearch server

For the complete documentation index see: llms.txt

All documentation pages available in markdown.

Aerospike Connect for Elasticsearch supports Elasticsearch server 7.11.x and later without extra HTTP headers. If you use an earlier Elasticsearch release, configure the connector’s default headers so the Content-Type matches what the server accepts.

Elasticsearch server 7.11.x or later

The connector works with Elasticsearch server 7.11.x or later.

Elasticsearch server prior to 7.11.x

For the older version of Elasticsearch server, configure the Default Headers Section of es-client. Configure this when the Elasticsearch server version is earlier than 7.11.x and you see an exception from the Elasticsearch server similar to

{"error":"Content-Type header [application/vnd.elasticsearch+json; compatible-with=8] is not supported","status":406}

in your logs. To overcome this error, override the Content-type header in this section as exampled below:

Example

...
es-client:
...
default-headers:
Content-type: application/json
...
...