Skip to content

What happened with connectionClass? #934

Closed
@dietkinnie

Description

@dietkinnie

Hello, I would like to make use of the new client and while checking https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/breaking-changes.html there are no mentions of changes to connectionClass, however it does not seem to be the case and I am unable to replicate the following:

const client = new Client({
  connectionClass: HttpAmazonESConnector,
  hosts: [process.env.ES_HOST],
  keepAlive: true,
});

Could you please advise how best to go around this or what I'm missing?

Cheers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions