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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.