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
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.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.