-
Notifications
You must be signed in to change notification settings - Fork 25.5k
Description
Opening this one up to gather feedback from the community.
The Java high-level REST currently depends on Elasticsearch, and has the same jvm requirements that Elasticsearch has. The Java low-level REST client though has minimal dependencies and works with java 7 and onwards.
Given that java 7 is EOL for quite some time now, we are considering dropping support for java 7 and require java 8 as minimum java version for the Java low-level REST client, starting from 7.0 version of the client, which will go out with Elasticsearch 7.0. The release is not really around the corner, so that gives us some time to think about this, gather feedback and make an informed decision.
Using java 8 as a minimum Java version (compared to 7) is appealing as it would allow us to us java 8 features, as we are currently forced to write code that is java 7 compatible when it comes to the low-level REST client and its sniffer component. On the other hand there may be people still stuck on java 7 using our REST client, who would not be able to upgrade to a newer version. We would definitely recommend such people to upgrade their jvms regardless as java 7 is EOL, but this issue should give us a sense of how many people would be negatively affected by the proposed change, and gives them some notice in case we decide to go ahead in this direction.