Types of Elasticsearch Clients for Gateways to Use

After deciding where to place your gateways, decide which type of Elasticsearch client for the gateways to use to connect to the Elasticsearch cluster. There are two types of Elasticsearch client for this purpose: transport clients and node clients.

Note: All of the gateways that you use to index data that is in a source MapR cluster must use the same type of client. For example, if you are using four gateways, you cannot use two with transport ciients and two with node clients. All four must use either transport clients or node clients.

Transport clients

When gateways use transport clients to connect to an Elasticsearch cluster, the gateways connect to one or more transport nodes in that cluster. The gateways pass replicated updates from the source MapR cluster to the transport nodes. These nodes are responsible for distributing the updates to the correct nodes in the Elasticsearch cluster.

Node clients

Attention: Node clients were supported in previous MapR releases, but they are not supported by version 5.2.

When gateways use node clients to connect to an Elasticsearch cluster, the gateways themselves distribute updates to the correct nodes in the Elasticsearch cluster.

For more information about these clients and for instructions about how to use them, see the Elasticsearch documentation at https://www.elastic.co/guide/index.html.