Configure the Java transport client (deprecated)

edit

Configure the Java transport client (deprecated)edit

The Java transport client has been removed in Elasticsearch 8.0. Please refer to the Elasticsearch Java API Client documentation for information about connecting to a deployment from Java code.