You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by barthorre <ba...@anova.be> on 2013/04/03 11:58:00 UTC

camel-elasticsearch option to connect to remote cluster

Hi there,

I was wondering if there is an option (or should be implemented) to be able
to connect to a remote cluster.
It should provide the same functionality like that java api for ES:

new TransportClient(settings).addTransportAddress(new
InetSocketTransportAddress(ip, 9300))


I tried to run a local test with my machine in 10.1.15.x range and the
cluster in 10.1.10.x range and my remote cluster was not found.

With the current available parameters you can only specify the clustername,
but when the cluster isn't in the same subnet it won't be discovered. 


Or maybe I am missing something and I got it all wrong?



--
View this message in context: http://camel.465427.n5.nabble.com/camel-elasticsearch-option-to-connect-to-remote-cluster-tp5730270.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-elasticsearch option to connect to remote cluster

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Yeah feel free to dive into the source code of camel-elastichsearch
and see if anything is missing.

We love contributions
http://camel.apache.org/contributing.html

On Wed, Apr 3, 2013 at 11:58 AM, barthorre <ba...@anova.be> wrote:
> Hi there,
>
> I was wondering if there is an option (or should be implemented) to be able
> to connect to a remote cluster.
> It should provide the same functionality like that java api for ES:
>
> new TransportClient(settings).addTransportAddress(new
> InetSocketTransportAddress(ip, 9300))
>
>
> I tried to run a local test with my machine in 10.1.15.x range and the
> cluster in 10.1.10.x range and my remote cluster was not found.
>
> With the current available parameters you can only specify the clustername,
> but when the cluster isn't in the same subnet it won't be discovered.
>
>
> Or maybe I am missing something and I got it all wrong?
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/camel-elasticsearch-option-to-connect-to-remote-cluster-tp5730270.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen