ElasticSearch health check failed every time when spring boot start up

前端 未结 3 997
长发绾君心
长发绾君心 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

    You can disable the Elasticsearch health check by adding the following line to your application.xml file

    management.health.elasticsearch.enabled: false
    

提交回复
热议问题