blob: dd8d647b05fb1fffb4ea84181c845a016ebf7fb6 [file] [log] [blame]
= Elasticsearch Low level Rest Client Component
:doctitle: Elasticsearch Low level Rest Client
:shortname: elasticsearch-rest-client
:artifactid: camel-elasticsearch-rest-client
:description: Perform queries and other operations on Elasticsearch or OpenSearch (uses low-level client).
:since: 4.3
:supportlevel: Preview
:tabs-sync-option:
:component-header: Only producer is supported
//Manually maintained attributes
:camel-spring-boot-name: elasticsearch-rest-client
*Since Camel {since}*
*{component-header}*
The ElasticSearch component allows you to interface with
https://www.elastic.co/products/elasticsearch[ElasticSearch] 8.x API or https://opensearch.org/[OpenSearch] using the ElasticSearch Java Low level Rest Client.
Maven users will need to add the following dependency to their `pom.xml`
for this component:
[source,xml]
----
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-elasticsearch-rest-client</artifactId>
<version>x.x.x</version>
<!-- use the same version as your Camel core version -->
</dependency>
----
== URI format
----
elasticsearch-rest-client://clusterName[?options]
----
// component-configure options: START
// component-configure options: END
// component options: START
include::partial$component-configure-options.adoc[]
include::partial$component-endpoint-options.adoc[]
// component options: END
// endpoint options: START
// endpoint options: END
== Async Producer
This component implements the async producer.
This allows Camel route to produce events asynchronously without blocking any threads.