Is it possible to run different jdk on elasticsearch client and cluster?

HI All,

is it possible to run different jdk on elasticsearch client and cluster,

And also what happen is i use different jdk?

Technically, yes.

In practice, no, you shouldn't. It's unsupported to talk between different JDKs. Even different versions of the same JDK are discouraged heavily.

Sooo... I wouldn't use mixed JDKs. It's just asking for trouble, and if you run into problems, the official response will be "Sorry, not supported anyway" :slight_smile:

If you spoke over the REST api it'd be just fine. But the Java REST client coming out with 5.0 is very very low level. Not convenient yet.