It looks like it's possible to use Xpack credentials and use Rest clients. https://www.elastic.co/guide/en/elasticsearch/client/java-rest/master/java-rest-high-getting-started-initialization.html
Hi Michael and Casey, It looks like ES believe Java Rest Client is mature enough to be pushed to different products at this stage. However, I haven't used it personally. I will share the question regarding x-pack support with Elasticsearch engineers to see if there is any issue regarding that.
I think there is some level of support for auth via their REST api, but I don't see anything specific to X-Pack as you mentioned. However, the major reason we did not adopt it at the time of upgrade was because a number of features were not available to REST yet and the effort to simultaneously
Hi All, I have noticed that the recommendation from Elasticsearch team is changed to use Java Rest Client instead of Transport one. The rationale behind it looks convincing and it can also help Metron to be more decoupled from Elasticsearch roadmap, so Metron users can upgrade Elasticsearch with