Elastic Search Compatability

We are running elasticsearch 6.4.0 cluster in our production environment. For a new use case we are planning to roll out a new es cluster with version 7.10.0. Will high level java rest client version 6.8.0 be compatible with both 6.4.0 and 7.10.0

Rest high level java client version 6.7.1 is not compatable with es cluster version 7.10.0
Rest high level java client version 6.8.1 is not compatable with es cluster version 6.4.0

Welcome to our community! :smiley:
FYI 6.4 reach EOL quite some time ago, please upgrade ASAP.

The latest minor is 7.13, you would be best off moving to that.

No, it will not be

@warkolm How can we connect to both ES clusters with a single codebase(with a single high level java rest client version)

I don't know that client sorry.

You can't.

I had to solve a similar issue for another project and I came with 2 distributions of the same project, one for 6.x and the other for 7.x.

and

If it needs to run within the same JVM, then you can only use the Low Level client and implement yourself what you need to solve your use case.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.