Multiple Cluster Connection


(Henri K.) #1

to get said, what i want to do

i want to write a gateway or something else, which can route a call to ES
to the configured/called ES-Cluster

  • an app should connect itself to this ressource (like the
    Transportclient)
  • these ressource should route request to an ES-Cluster

it will be pleased about an answer


(Drew Raines) #2

Henri K. wrote:

i want to write a gateway or something else, which can route a call to
ES to the configured/called ES-Cluster

  • an app should connect itself to this ressource (like the
    Transportclient)

  • these ressource should route request to an ES-Cluster

Not sure exactly what you're trying to do, but you can start up a
transport client for each cluster and keep a map of them for dispatch
to the desired cluster. If the node one of the transport clients is
talking to dies, however, it won't be able to communicate with the
cluster.

A better strategy might be to start a node client in each cluster.
They would need to know about at least a node or two in order to join
(unless you're able to do multicast), but they would be better at
handling failures.

-Drew


(system) #3