Closed
Description
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.