Skip to content

Ensure that the Elasticsearch client in 8.0 can work with a 7.x elasticsearch instance #2975

@jalvz

Description

@jalvz

apm-server 8.0 needs to be compatible with the last 7.x.

Now that we have our own elasticsearch client, we need to ensure we use the right dependency in function of the stack version.

#2974 needs a follow up so that, when a v8 agent is created, we ping Elasticsearch to retrieve the version, and if it is 7.x, we tear down the client, make a 7.x connection, and return it as an interface.

This should have no impact in the code other than the elasticsearch package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions