title: Sleuth + Zipkins with Elasticsearch
body: <p>Can anyone point me towards the required/working configuration to use Elasticsearch as a storage type with Zipkins with Sleuth?</p>
  
  <p>pom.xml </p>
  
  <p>'   </p>
  
  <pre><code>&lt;description&gt;Spring Boot Zipkin Server&lt;/description&gt;
  
  &lt;parent&gt;
      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
      &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
      &lt;version&gt;1.3.7.RELEASE&lt;/version&gt;
  &lt;/parent&gt;
  
  &lt;properties&gt;
      &lt;docker.image.prefix&gt;springio&lt;/docker.image.prefix&gt;
      &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
      &lt;java.version&gt;1.8&lt;/java.version&gt;
      &lt;sonar.skip&gt;true&lt;/sonar.skip&gt;
      &lt;zipkin.version&gt;1.6.0&lt;/zipkin.version&gt;
      &lt;elasticsearch.version&gt;2.3.4&lt;/elasticsearch.version&gt;
  &lt;/properties&gt;
  
  &lt;dependencyManagement&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.cloud&lt;/groupId&gt;
              &lt;artifactId&gt;spring-cloud-dependencies&lt;/artifactId&gt;
              &lt;version&gt;Camden.RELEASE&lt;/version&gt;
              &lt;type&gt;pom&lt;/type&gt;
              &lt;scope&gt;import&lt;/scope&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  &lt;/dependencyManagement&gt;
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.cloud&lt;/groupId&gt;
          &lt;artifactId&gt;spring-cloud-sleuth-zipkin-stream&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.cloud&lt;/groupId&gt;
          &lt;artifactId&gt;spring-cloud-starter-sleuth&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;!-- EXAMPLE FOR RABBIT BINDING --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.cloud&lt;/groupId&gt;
          &lt;artifactId&gt;spring-cloud-stream-binder-rabbit&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-test&lt;/artifactId&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.restdocs&lt;/groupId&gt;
          &lt;artifactId&gt;spring-restdocs-mockmvc&lt;/artifactId&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  
  &lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;
              &lt;configuration&gt;
                  &lt;finalName&gt;demo-zipkin-server&lt;/finalName&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p>`</p>
  
  <p>application.yml</p>
  
  <p><code>
  server:
    port: 9411
  spring:
    rabbitmq:
      host: ${RABBIT_HOST:localhost}
  eureka:
   client:
    register-with-eureka: true
    service-url:
     defaultZone: <a href="http://localhost:8761/eureka/" rel="nofollow noreferrer">http://localhost:8761/eureka/</a>
  zipkin:
   self-tracing:
    enabled: false
    storage:
      type: elasticsearch
      elasticsearch:
        cluster: ${ES_CLUSTER:elasticsearch}
        hosts: ${ES_HOSTS:localhost:9300}
        index: ${ES_INDEX:zipkin}
        index-shards: ${ES_INDEX_SHARDS:5}
        index-replicas: ${ES_INDEX_REPLICAS:1}
  </code></p>
  
  <p>Application doesn't start up with these config. It throws 
  Caused by: java.lang.NoSuchMethodError: org.springframework.integration.amqp.support.DefaultAmqpHeaderMapper.inboundMappe</p>