ES 5.4 transport client support missing (unable to write from spark)

Our pipeline has been using Apache spark to write into elasticsearch from upstream.
The transport client was being used until ES version-2.4
We are now trying to upgrade to ES 5.4 and are using the maven dependency for version 5.4.0 and 5.4.1 (we understand that transport client is now a different artifact)

According elastic search client java documentation link: https://www.elastic.co/guide/en/elasticsearch/client/java-api/5.4/transport-client.html
Class PreBuiltTransportClient needs to be implemented to build transport client. Can the code from GitHub here
https://github.com/elastic/elasticsearch/tree/f8a48badcf4293396925308962c7d1bd2a357845
be used or do you have an example?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.