Class TransportClient

java.lang.Object
org.elasticsearch.client.support.AbstractClient
org.elasticsearch.client.transport.TransportClient
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable, Client, ElasticsearchClient, Releasable

@Deprecated
public abstract class TransportClient
extends AbstractClient
Deprecated.
TransportClient is deprecated in favour of the High Level REST client and will be removed in Elasticsearch 8.0.
The transport client allows to create a client that is not part of the cluster, but simply connects to one or more nodes directly by adding their respective addresses using addTransportAddress(org.elasticsearch.common.transport.TransportAddress).

The transport client important modules used is the NetworkModule which is started in client mode (only connects, no bind).