Describe the feature:
Allow custom Keep-Alive strategy for ES rest client.
Describe a specific use case for the feature:
In our current network setup, there are strict FW rules that trigger every 30 minutes and close the open connections between the cluster nodes. We thus observe Connection reset by peer errors between JanusGraph and ES, similar to the errors described in this post: https://stackoverflow.com/questions/52997697/how-to-get-around-connection-reset-by-peer-when-using-elasticsearchs-restclie.
Using a custom Keep-Alive strategy (with a fairly short timeout) will prevent ES rest client to use a connection that has been idle for long and that may be broken due to the strict FW rules.
Describe the feature: Allow custom Keep-Alive strategy for ES rest client.
Describe a specific use case for the feature: In our current network setup, there are strict FW rules that trigger every 30 minutes and close the open connections between the cluster nodes. We thus observe
Connection reset by peer
errors between JanusGraph and ES, similar to the errors described in this post: https://stackoverflow.com/questions/52997697/how-to-get-around-connection-reset-by-peer-when-using-elasticsearchs-restclie. Using a custom Keep-Alive strategy (with a fairly short timeout) will prevent ES rest client to use a connection that has been idle for long and that may be broken due to the strict FW rules.