You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by zpyoung <zp...@gmail.com> on 2016/01/24 20:16:26 UTC

Issues connecting to Elasticsearch

I have the below route configured and I'm getting a
org.elasticsearch.action.UnavailableShardsException

from("weather:foo?appid=44db6a8").routeId("weather")
.to("elasticsearch://weather-indexer?operation=INDEX&indexName=weather&indexType=72764");

I have the following versions:
  OS: Windows 10
  ES: 2.2.1 running locally

elasticsearch.yml config:
  cluster.name: weather-indexer
  node.name: node-1

pom:
  <dependency>
     <groupId>org.apache.camel</groupId>
     <artifactId>camel-elasticsearch</artifactId>
     <version>2.17-SNAPSHOT</version>
  </dependency>

It appears that this snapshot version is running an older version of ES. 
Not sure if that is the cause of my issues.

https://gist.github.com/zachariahyoung/4cf5c40472784e195cde
<https://gist.github.com/zachariahyoung/4cf5c40472784e195cde>  

https://github.com/zachariahyoung/docker-elastic
<https://github.com/zachariahyoung/docker-elastic>  

  






--
View this message in context: http://camel.465427.n5.nabble.com/Issues-connecting-to-Elasticsearch-tp5776632.html
Sent from the Camel - Users mailing list archive at Nabble.com.