REST client to call external service in a Elasticsearch custom plugin

Hi,

I'm building an Elasticsearch plugin and need to call an external REST service from a class.
What REST client could I use?
Does Elasticsearch have any integrated not-Elasticsearch-based REST client? E.g. cxf-rt-rs-client?

Thanks

Elasticsearch does not have a general purpose rest client: you would need to include this in your plugin. Additionally, be aware that your plugin should most likely make it's external calls in an async thread. This is really important to not block the networking threads for incoming requests.

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