'Which maxim Elasticsearch java client version is compatible with 1.5.2?

I have Elasticsearch version 1.5.2 running and Java 8 application that is connected to it using 1.5.2 client. I would like to upgrade the Java version to Zulu 11 and found that Java 11 is supported by Elasticsearch after version 5.6.x.

Do I need to upgrade Elasticsearch to 5.6.x as well or upgrading Elasticsearch java client is enough? What maximum java client version of Elasticsearch I can use to connect to Elasticsearch 1.5.2?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source