ElasticSearch health check failed every time when spring boot start up

前端 未结 3 992
长发绾君心
长发绾君心 2020-12-16 15:57

I am working with Elastic Search 5.5.0 on Spring boot 1.5.8.RELEASE using the Java Transport Client library.

The Elastic Search was deployed with docker in a contai

3条回答
  •  长情又很酷
    2020-12-16 16:15

    disable the health indicator auto configuration

    @SpringBootApplication(exclude = {        
        ElasticSearchRestHealthIndicatorAutoConfiguration.class
    })
    public class YourApplication
    

提交回复
热议问题