Elasticsearch's first connection after a period of inactivity (about 30 min) causes a connection timeout. Set spring.elasticsearch.socket-keep-alive default to true can aviod this problem

Comment From: pivotal-cla

@YMNNs Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-cla

@YMNNs Thank you for signing the Contributor License Agreement!

Comment From: wilkinsona

Thanks for the suggestion. The Elasticsearch client does not have keep-alive enabled by default and we want to align with that. If you believe it should be enabled by default, please raise it with the client's maintainers.