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
be used or do you have an example?