camel-elasticsearch-index-sink-kafka-connector sink configuration
Connector Description: This sink stores documents into ElasticSearch. Input data must have JSON format according to the index used. - `indexId` / `ce-indexid`: as the index ID for Elasticsearch If the header won’t be set the exchange ID will be used as index. - `indexName` / `ce-indexname`: as the index Name for Elasticsearch If the header won’t be set the exchange ID will be used as index name.
When using camel-elasticsearch-index-sink-kafka-connector as sink make sure to use the following Maven dependency to have support for the connector:
<dependency>
<groupId>org.apache.camel.kafkaconnector</groupId>
<artifactId>camel-elasticsearch-index-sink-kafka-connector</artifactId>
<version>x.x.x</version>
<!-- use the same version as your Camel Kafka connector version -->
</dependency>
To use this sink connector in Kafka connect you’ll need to set the following connector.class
connector.class=org.apache.camel.kafkaconnector.elasticsearchindexsink.CamelElasticsearchindexsinkSinkConnector
The camel-elasticsearch-index-sink sink connector supports 6 options, which are listed below.
Name | Description | Default | Priority |
---|---|---|---|
Username to connect to ElasticSearch. |
MEDIUM |
||
Password to connect to ElasticSearch. |
MEDIUM |
||
Do we want to connect using SSL?. |
true |
MEDIUM |
|
Required Comma separated list with ip:port formatted remote transport addresses to use. Example: quickstart-es-http:9200. |
HIGH |
||
Required Name of the cluster. Example: quickstart. |
HIGH |
||
The name of the index to act against. Example: data. |
MEDIUM |
The camel-elasticsearch-index-sink sink connector has no converters out of the box.
The camel-elasticsearch-index-sink sink connector has no transforms out of the box.
The camel-elasticsearch-index-sink sink connector has no aggregation strategies out of the box.