We currently use the JEST 5.2 client. We recently experienced a networking issue where, after recovery, an invalid HTTP route was held by the client connection manager instead of finding a new valid route to the ES cluster. When analyzing our connection settings, we were using default settings:
- maxConnectionPool (default: 2/route, max 20)
- discoveryEnabled (default: false)
- maxConnectionIdleTime (default: 0 - disabled)
While we think we could adjust these settings to get the proper connection repair actions after a network outage, we are taking this opportunity to evaluate the REST client instead as we have heard that its reliability is higher in situations like this.
Will the high-level REST client automatically attempt to repair its connection with the ES cluster if the connection is lost? This blog posts speaks to "persistent connections" for the low level client, and I was hoping to clarify if the high level client also has "persistent connections" and what "persistent connections" actually means.
Thanks!